How to select complete row from cdt and display selected rows
can anyone help with this
Discussion posts and replies are publicly visible
Is this different to
https://community.appian.com/discussions/f/general/22466/rule-input-doubt-in-interface
Did you go through the tutorial?
We can help, but you will need to post details.
Yes, before posting here i went through all the available tutorials and documents, but those didn't help me.... I have already go through this https://docs.appian.com/suite/help/21.3/Grid_Tutorial.html#configure-selection-values i didn't get it..
yeah I have already given the details same
selectionSaveInto: {a!save(local!selectedid_int,rule!APN_distinct(a!flatten(save!value))),a!save(ri!selectedLimitIds_txt,index(ri!crAppLimit.limitId_txt,local!selectedid_int,{}))
Hi kavyamuttur,
can you tell us more of your overall scenario?Are we talking about grids? Dropdowns? Checkboxes?
Hi Richard,
Am talking about grid and checkbox...
I have grid in that enabled/included checkbox..
whenever i select the checkbox it has to select complete row and display only selected rows in grid and whenever i select child checkbox it has to select parent node checkbox also
[I have nodes in hierarchy parent, child, grandchild these nodes are in crapplimit cdt]
ruleinput am using ri!crapplimit and to store selected values in ri!selectedlimit_id
help me if you have idea
1.)
if you use a checkbox selectionStyle for your grid:selectionValue and SelectionSaveInto needs to target at the same variable like:local!selectedid_int.
selectionSaveInto: local!selectedid_int, selectionValue:local!selectedid_int,
2.) what do you mean by "child checkbox". is it a second grid with child items?
this is how it is... child node means
Thanks
Regardless of your actual use case, a grid saves the IDs of the selected row. This IDs must be passed inside a datasubset in the field identifiers. The parameter selectionValue must use these IDs to make the row selection work..
This is what the tutorial tries to explain.