Hi Team,
Most of my data grid update data after some seconds. And on every data grid I have rowselect method that permit users to display data when a row is selected. But the problem I discovered that sometimes when the user clicks no data is displayed and no row is selected. I couldn’t understand why. The I discovered that each time the user clicks on dadatagrid at the same time it is being updated, that is when it behaves like that, no data is displayed and no row is selected.
I have something like this for data Updates
setInterval(function(){
$.get('mydata.php', function(output) {
if(output==0){
$('#myDataGrid').jqxGrid('updatebounddata');
}
});
}, 10000 );
Please is there no workaround ? I understand why the user click does not work at the second the datagrid is being refresh, but it seems displeasing to the user to be obliged to click twice some times
Thanks