You are currently reviewing an older revision of this page.
Selecting the 'select all' checkbox in an editable grid and then deselecting all items stores an incorrect selection list.
This issue has been reported to the Appian Product Team. The reference number for this issue is AN-144124.
Use gridField() instead of gridLayout(). The gridField() function does not exhibit the abnormal behavior outlined in the Symptoms section.
gridField()
gridLayout()
Add the following to the gridLayout() SAIL code per the function documentation.
/* Flatten the selected values so the result is easier to work with *//* when the select/deselect all option is used in an editable grid */selectionSaveInto: a!save(local!selected, a!flatten(save!value)),
This article applies to all versions of Appian.
Last Reviewed: November 2019