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
4 replies
Subscribers
7 subscribers
Views
1779 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, I have created a view as below. select column1, column2 from
prasadr875
over 9 years ago
Hi,
I have created a view as below.
select column1, column2 from table order by column2 desc, column1
In the Interface I have used query entity to get the data from the view. In phpmyadmin I can see the data in sorted format but in the grid the data is not sorted properly.
paginginfo is a!pagingInfo(startIndex: 1,batchSize: - 1)
what is the error?
OriginalPostID-142169
OriginalPostID-142169
Discussion posts and replies are publicly visible
Parents
0
sachinr
over 9 years ago
You have to declare field property of each a!gridTextColumn used to create Grid with data field and redefine your pagingInfo as
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: cons!FSLS_GRID_BATCH_SIZE,
sort: a!sortInfo(
field: "Id",
ascending: false
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sachinr
over 9 years ago
You have to declare field property of each a!gridTextColumn used to create Grid with data field and redefine your pagingInfo as
local!pagingInfo: a!pagingInfo(
startIndex: 1,
batchSize: cons!FSLS_GRID_BATCH_SIZE,
sort: a!sortInfo(
field: "Id",
ascending: false
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data