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. Please find an example below:
Note: Row 2 is deselected automatically, we still see 2 in the selected list and the top checkbox (all) is selected.
Use gridField() instead of gridLayout(). The gridField() function does not exhibit the abnormal behavior outlined in the Symptoms section.
Last Reviewed: November 2019