Hello,
I don't know what is the difficulty. What are you doing different?To use pagination with a Local list, all you need to do is to setup the pagination the same way you do when the source is a list from an Aggregate/SQL.
Here is an example: https://eduardojauch.outsystemscloud.com/LocalListPagination/Home.aspx?_ts=636422261494669913
The OML is attached.
If you are doing something different, please, develop the explanation so we can understand where is the problem :)
Cheers,Eduardo Jauch
Hi, can you send the link again? thanks!
Nuno Rolo wrote:
Hi nuno,
Even after so many months, your answer is still valid. I had done silly mistake of not using that function and wasted some time for debugging.
Thanks for the trick. Now my pagination is working fine.
Thanks and Regards,
Suraj Borade
Did this ever get solved?
I have the same issue as the OP. I know how to set up pagination and haven't missed any steps, but when the source is a list variable it doesnt work properly.
Thanks
Hi Beatriz,
In general, it's better to start a new topic, as a new topic will be quicker picked up. That said, with "the same issue" you mean that clicking the pagination does not advance the TableRecords? If so, how did you set it up?
In the tutorials, pagination is one of the things that's discussed. Did you take a look at it?
I managed to get it working after my last post. From memory i might have re-assigned the aggregate list to the variable list on every refresh as well as in preparation - not 100% sure - i know i tried this but cant remember if i took it out. Also set the counter and paging widgets' 'LineCount' properties to the data source in the preparation rather than the variable. Something like that did the trick...
Even after so many months... I will just add...
I was refreshing only the table - I did not include the pagination and navigation widgets inside the refresh element.
This caused the pagination feature to appear not to function properly.