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
1605 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Grid Field with fix number of insert
ahmada674
over 8 years ago
Dears im using a!gridField and add button to the grid is there a way to make the insert or the add to be fixed number .
ex:
firstColumnContents: {
a!gridField(
label: "",
labelPosition: "ABOVE",
totalCount: 7,
columns: {
.......
i changes the total count to 7 but when i add any new record this message will appear is there a way to validate the or give validation message that you cant add more than 7 records.
Error message :
Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error at function a!gridField [line 135]: A grid component [label=“”] has an invalid value for “totalCount”. “totalCount” must not be null or less than the number of items in any of the “data” arrays, but “totalCount” was 7 and the largest column data array had 8 items.
Thanks
OriginalPostID-245291
Discussion posts and replies are publicly visible
Parents
0
ahmada674
over 8 years ago
Thanks i add a condition on the append and save to make it disable when it's more than 7.
regards..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ahmada674
over 8 years ago
Thanks i add a condition on the append and save to make it disable when it's more than 7.
regards..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data