2218
Views
6
Comments
How to paginate a table using a Data Action as the source of the table?
Application Type
Reactive
Service Studio Version
11.10.16 (Build 40208)

How to include the startIndex and MaxRecords variables on the DataAction aggregate? I'm using an action that runs through the aggregate and appends the items that correspond with this condition (CurrentRowNumber >= StartIndex and OutputList.Length < MaxRecords), it works but i'm asking if there's a more efficient way of doing this.

Thank you guys :) :)


pagination.png
2018-12-10 12-16-21
Goncalo Duarte Almeida
2019-03-19 12-24-07
Mariano Picco
 
MVP

Resurrecting this thread to say... that's just unacceptable. Why is there no start index?

UserImage.jpg
Ummer Irshad

@Mariano Picco Start index is there. Please check for OFFSET in the query.


Cheers!!

2019-03-19 12-24-07
Mariano Picco
 
MVP


I don't think we're talking about the same thing. Offset is all good for SQL but not all data actions use SQL queries

2018-10-29 08-31-03
João Marques
 
MVP

Hi Ricardo,


The Paginating, sorting and filtering data from a Data Action article covers precisely this topic and in addition the Paginating Data Action Example forge component shows how it is done.


Kind Regards,
João

UserImage.jpg
Hoda Mahmoud

Hello,

I have table list retrieved from API response data action and make the solution of append on another list but the problem that the table show only the first record, any suggest?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.