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
2 replies
Subscribers
7 subscribers
Views
1587 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I'm using a Grid to display a list of CDT, the list of CDT is retrieved from
guozhangy
over 9 years ago
I'm using a Grid to display a list of CDT, the list of CDT is retrieved from database, with a pagingInfo that is sorted by two columns, with something like:
local!pagingInfo:a!pagingInfo(startIndex: 1, batchSize:50, sort: {a!sortInfo(field:"ID"), a!sortInfo(field: "NAME")}),
The above pagingInfo is also used as value and saveInto for the gridField.
In the first page, the records are sorted by ID and NAME correctly, but beginning from the second page, the records are only sorted by the first field(ID), the records are not sorted by the second field (NAME) any more.
Does anyone have similar issue? Thanks.
OriginalPostID-158066
OriginalPostID-158066
Discussion posts and replies are publicly visible
Parents
0
TJ
A Score Level 2
over 9 years ago
Try to print pagingInfo variable using textField. I don't think the sort information is lost when user navigates to page 2 or more.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
TJ
A Score Level 2
over 9 years ago
Try to print pagingInfo variable using textField. I don't think the sort information is lost when user navigates to page 2 or more.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data