Hello,
I am currently facing an issue with the pagination system given by the dataset object in PCF.
I've set a really simple PCF that display records as Cards that displays the name of the record plus two more fields.
On the bottom of the page, I've set two buttons that loads the previous or next dataset page.
Since the loadNextPage adds more records to the dataset, I'm using the loadExactPage(N) to load only the records I need, an I keep track of the current page in my component.
The problem is that, if I call loadExactPage(N) more than twice, the dataset starts to switch from page N to page N+1 repeatedly with no reason (as shown in the gif below)
I also have to mention that I've already use this feature the exact same way on a previous development and it worked perfectly until I get back on it a few days ago.
Is there a problem on Microsoft side since a previous update ? Or am I doing something wrong ?
Any help would be appreciated.
Thanks

Report
All responses (
Answers (