Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
9 replies
Answers
1 answer
Subscribers
9 subscribers
Views
4997 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, In a grid, I want to display a serial number along with my data. I am u
smrutis
over 9 years ago
Hi,
In a grid, I want to display a serial number along with my data. I am using (enumerate(length(datasubset.data))+1) to display the serial number like 1, 2, 3, 4 and so on.
When I mention the pagingInfo batch size = 15, it displays 15 rows on the page with serial number from 1 to 15, but when I navigate to the next page it again resets the serial number from 1.
How can I make the serial number continuous even in the next pages.. like in the next page the serial number should start with 16 instead of getting reset to 1 again?
Thanks,
Smruti
OriginalPostID-176968
OriginalPostID-176968
Discussion posts and replies are publicly visible
Parents
0
GouthamKrishna
over 9 years ago
Disabling sort can be done indirectly by resetting the sortInfo every time user interacts with the grid or by capturing only the startIndex. In this way you have to only update the startIndex of the pagingInfo variable that you are using and then reset the sortInfo as a second step in grid saveInto block. Something like the following...
saveInto:{
a!save(local!pagingInfo.startIndex, save!value.startIndex)
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
GouthamKrishna
over 9 years ago
Disabling sort can be done indirectly by resetting the sortInfo every time user interacts with the grid or by capturing only the startIndex. In this way you have to only update the startIndex of the pagingInfo variable that you are using and then reset the sortInfo as a second step in grid saveInto block. Something like the following...
saveInto:{
a!save(local!pagingInfo.startIndex, save!value.startIndex)
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data