Hi,
I have a grid and when users submit the form fields, I fetch a new records from db and show them on the grid
Problem is that, after re-assigning the dataadapter, the first row appears out of the visible area. And I need to scroll-up (using vertical scroll-bar) to see it
var newDataAdapter = new $.jqx.dataAdapter( getSourceGrid(), {
loadComplete: function() {
$(“#dataGrid”).jqxGrid( {filterable: true, showfilterrow: true} );
}
});
$(‘#dataGrid’).jqxGrid( { source: newDataAdapter });
I discover that if I remove the filterable and showfilterrow options, the first records looks OK. But I need that filter capability !!
I guess I need some method like jqxGrid(‘scrollToTop’) or something like that…
help pls !