Posted: 11 Dec 2016 17:48 EST Last activity: 12 Dec 2016 23:59 EST
How to go back to the previous page index after clearing filter in a repeating grid.
I have a small requirement in my application.
For example, i have a repeating grid with pagination enabled.let us assume there are 20 pages and i am at 17th page.Then i applied filter which reduces the pagination to 3 pages(assuming) and sets the focus to page index 1.Then after clearing the filter i need to go back to page 17 but its going back to page 1(Default behaviour).
After Clearing filter, is there a way i can directly go back to the page index that i was before applying filter.(here, it is 17)
As far as I know, there is no simple way to return to the previously "current" page. Every time a filter is applied or cleared, the result set for the grid is retrieved fresh. The only thing PRPC can do is load page 1 again.