Refresh data fetching from task report

Certified Associate Developer

Hello,

I have an interface which shown a corresponding gird with 10 records on a page, after user choose the one the would like to see. There is also a refresh bottom available within the interface.

All data shown in the grid came from task reports, and assume to be refreshed when either someone press the refresh bottom or make a choice.

The refresh itself do work, and my problem is that when the grid is on the second page , the way of data displayed after refreshed differs between

a.no actual update for the task report

b.do have update in the task report

When a the grid stay on the second page while under the situation of b, the gird will display data from the first page.

What should I add to my code to ensure that it maintains the same performance in all cases.

  Discussion posts and replies are publicly visible