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
6 replies
Subscribers
7 subscribers
Views
2717 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I am trying to create a column on my a!gridField that contains the REMOVE icon.
erickp
over 9 years ago
I am trying to create a column on my a!gridField that contains the REMOVE icon. When user clicks on it, it would remove the row from the table. Right now I have it working so that it display the REMOVE icon on the first row only but the other rows do not have it. It looks like I need to use apply() which I tried but couldn't make it work. I am attaching the piece of code for my gridField.
Anyone has an idea of what I am missing?
gridField.txt
OriginalPostID-181883
OriginalPostID-181883
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 9 years ago
I believe you need the data to be an array of a!documentImage() so yes you'll need to use apply() - but you'll want to move the a!documentImage() part of the expression out to a rule and apply that rule - but you'll also need to pass in the two arrays - data and token - to the rule as well, so that the remove link can actually remove the appropriate entry from each array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 9 years ago
I believe you need the data to be an array of a!documentImage() so yes you'll need to use apply() - but you'll want to move the a!documentImage() part of the expression out to a rule and apply that rule - but you'll also need to pass in the two arrays - data and token - to the rule as well, so that the remove link can actually remove the appropriate entry from each array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data