This question is locked. New answers and comments are not allowed.
Hi,
I have an app that populates a grid based on search criteria. A requirement is that the grid must be cleared if any piece of the search criteria changes. On the client side I clear the grid as follows:
This removes all the visible rows from the grid as expected. However, if there were multiple pages of data the paging navigation still appeares and if it clicked on the grid repopulates with the old data. Since I have the grid clearing as expected how do also clear the navigation?
I have an app that populates a grid based on search criteria. A requirement is that the grid must be cleared if any piece of the search criteria changes. On the client side I clear the grid as follows:
$(
'#gridSearch').data('tGrid').dataBind(null);
This removes all the visible rows from the grid as expected. However, if there were multiple pages of data the paging navigation still appeares and if it clicked on the grid repopulates with the old data. Since I have the grid clearing as expected how do also clear the navigation?