Oct 27, 2009, 1:30 PM
Reset Grid Pager
Hi,
I have a grid control and the conditions to the data soruce is passed via text fields in the page. When the page loads the conditions are empty so the grid loads all the data and show the page size, current page, and total number of pages in the pagerbar. But, when I give the condition and click on the search button I use grid.reload(), the grid is reloading with the data based on my conditions but the pager is not reset and still shows the old details(page size, current page, total pages, etc).
Kindly, let me know how thie could be resolved.
Thanks
I have a grid control and the conditions to the data soruce is passed via text fields in the page. When the page loads the conditions are empty so the grid loads all the data and show the page size, current page, and total number of pages in the pagerbar. But, when I give the condition and click on the search button I use grid.reload(), the grid is reloading with the data based on my conditions but the pager is not reset and still shows the old details(page size, current page, total pages, etc).
Kindly, let me know how thie could be resolved.
Thanks