- Sun Jan 19, 2020 12:58 am
#827409
Hi,
One solution is the method you used and it is right and you need to manage it with trigger.
But another way is to use JavaScript code as follows:
Thanks
One solution is the method you used and it is right and you need to manage it with trigger.
But another way is to use JavaScript code as follows:
Code: Select all
https://pmlearning.info$("document").ready( function(){
var Grid_Count = $('#YOUR_GRID_ID').getNumberRows();
var Grid_Object = getFieldById('YOUR_GRID_ID');
for(var i=1;i<=Grid_Count;i++){
if($('#YOUR_GRID_ID').getValue(i, 1) != $('#YOUR_HIDDEN_USR_UID').getValue()){
Grid_Object.tableBody.children().eq(i - 1).css('display', 'none');
}
}
});
Thanks