Hi
I have list of ListGrids which need to use the same data source to fetch data with a different initial criteria. I override the fetch data from these grids to explicitly set the data after fetching the data from the server. Now this does not show the loading message (loading image) in the grid. How can I achieve this?
I was looking some kind of a method on the list grid which I can call before fetch and after fetch which I can call to show/hide loading message in the grid. Thanks for your help.
I have list of ListGrids which need to use the same data source to fetch data with a different initial criteria. I override the fetch data from these grids to explicitly set the data after fetching the data from the server. Now this does not show the loading message (loading image) in the grid. How can I achieve this?
I was looking some kind of a method on the list grid which I can call before fetch and after fetch which I can call to show/hide loading message in the grid. Thanks for your help.
Code:
fetchData: function() { var thisGrid = this; reportFilterDS.fetchData(thisGrid.initialcriteria, function(dsResponse, data) { thisGrid.setData(data); }); },
Comment