I am using a paging grid but pagination is not working properly.Whenever i click

I am using a paging grid but pagination is not working properly.Whenever i click on next or previous then it always returns the same data set that is configured initially.Below is the code that I am using.
=todatasubset(pv!actionsResultList,topaginginfo(1,2))
How can i change the pagingInfo dynamically on click of paging buttons.
Any pointers will be great.
...

OriginalPostID-77692

OriginalPostID-77692

  Discussion posts and replies are publicly visible