Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
10 subscribers
Views
6151 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Anybody can explain use of a!paginginfo() Function?
tirumalar0001
over 6 years ago
s
Discussion posts and replies are publicly visible
Parents
0
ravalik
A Score Level 1
over 6 years ago
HI tirumalar,
a!paging Info() function contains 3 parameters start Index, batch Size, sort which is used to fetch the data and is used to display the records i.e(batch size). sort can be used by a!sortinfo()
For example: your total Data set contains 500 items, but you only want to display 100 at a time. You set your paging info values to: startIndex:1, batchSize:100.
You display your grid, if you display your datasubset in a paragraph field, you'll see three important values:
datasubset.startIndex:1, datasubset.batchSize:100, datasubset.totalCount: 500,
If you page your grid to the next one hundred and examine your values, you'll see:
datasubset.startIndex:101, datasubset.batchSize:100, datasubset.totalCount:500
Thanks,
ravalik
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ravalik
A Score Level 1
over 6 years ago
HI tirumalar,
a!paging Info() function contains 3 parameters start Index, batch Size, sort which is used to fetch the data and is used to display the records i.e(batch size). sort can be used by a!sortinfo()
For example: your total Data set contains 500 items, but you only want to display 100 at a time. You set your paging info values to: startIndex:1, batchSize:100.
You display your grid, if you display your datasubset in a paragraph field, you'll see three important values:
datasubset.startIndex:1, datasubset.batchSize:100, datasubset.totalCount: 500,
If you page your grid to the next one hundred and examine your values, you'll see:
datasubset.startIndex:101, datasubset.batchSize:100, datasubset.totalCount:500
Thanks,
ravalik
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data