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
8 subscribers
Views
1633 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Paging Grid: Whenwe display n rows in a paging grid, and when we select a single
raghunandanj3904
Certified Senior Developer
over 10 years ago
Paging Grid: Whenwe display n rows in a paging grid, and when we select a single value, it is said that it picks up the primary key of the row and can b stored later for data retrieval purposes.
But in our case when we display the data in paging grid, and select a particular row, we are able to see that it is picking the row index instead of the primary key.
In our case the PK is a integer variable and when we display it, it shows a proper value in the grid. For eg: if my eventID (PK) is displayed it shows 5 as the value but when we select and proceed further the stored value is 1 since the number of rows displayed is only one.
Similaly, if there are 2 rows displayed and i select 2nd row value which is 5, here again the saved value is 2!
Any reason for this behavor? or do we have to make some changes?...
OriginalPostID-67600
OriginalPostID-67600
Discussion posts and replies are publicly visible
0
santha
over 10 years ago
Are you using todatasubset to populate paging grid data?. Using todatasubset only stores the index of the selected row. If you want to store primary key of selected row, please use query rule to populate paging grid.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
raghunandanj3904
Certified Senior Developer
over 10 years ago
Hi Santhal, thank you for the valuable info. It is because of the todatasubset.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel