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
2106 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi, I am using the editable grid, populating with the CDT data. one of the
ramakg
A Score Level 1
over 8 years ago
Hi,
I am using the editable grid, populating with the CDT data. one of the CDT column is having true or false option. Based on this value I am resetting the other column value of CDT and making that filed as readonly. but it is not resetting the value.I have tried many options but no luck.
saveInto:{a!save(ri!items[ri!index].abc,"")},
Any help??
OriginalPostID-171418
OriginalPostID-171418
Discussion posts and replies are publicly visible
0
Rahul Gundu
over 8 years ago
Hi ramakg,
Saveinto statements will be executed when the user interact with the field. In your case write the logic of saveinto in any other column on which the user will interact.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Christine Shen
A Score Level 1
over 8 years ago
A field's saveInto will only be triggered on editing - so this will not occur on a read only field. If you want to save into the field, I would recommend using the saveInto on the buttons on your form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Shyam Bommakanti
Certified Lead Developer
over 8 years ago
I have it working.
Saveinto for column 1:
saveInto: {ri!items[ri!index].srcType,
a!save(ri!items[ri!index].src, "Value 2")}
Which Appian version are you on?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
singaravelus
over 8 years ago
In this scenario, either you have to set the value in the editable column saveInto parameter or readOnly column value parameter.
Here the sample for editable column saveInto parameter approach
Sample.txt
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ramakg
A Score Level 1
over 8 years ago
Thank you for your suggestion Rahul and Christine. The solution is working fine.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel