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
5 replies
Subscribers
7 subscribers
Views
1821 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Having issues with adding paging to a grid. There's different permissions ba
ashleyb
over 9 years ago
Having issues with adding paging to a grid. There's different permissions based off user role so the code is a little convoluted. The grid works when the batch size is -1 to show all but displays this
error when the batch size is reduced.
Expression evaluation error in rule 'apn_uisectiononecolumn' (called by rule 'apn_uireportonecolumn') at function a!gridField [line 233]:
This is line 233/234:
a!gridField(
totalCount: local!datasubset.totalCount,
Entire Code set is attached.
GridIssues.txt
OriginalPostID-162428
OriginalPostID-162428
Discussion posts and replies are publicly visible
Parents
0
Tim
Certified Lead Developer
over 9 years ago
It's quite hard to interpret your business logic for sure!
Firstly it doesn't look like your local!datasubset will always return a datasubset, I think lines 115 and 125 should be "todatasubset({})".
Does your error occur from the top or the bottom of the if() in your local!datasubset declaration?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tim
Certified Lead Developer
over 9 years ago
It's quite hard to interpret your business logic for sure!
Firstly it doesn't look like your local!datasubset will always return a datasubset, I think lines 115 and 125 should be "todatasubset({})".
Does your error occur from the top or the bottom of the if() in your local!datasubset declaration?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data