Grid now supports multiple selection using Ctrl-click and Shift-click (#23468). Unfortunately, you can't use Ctrl-click to deselect (toggle) a row that's already selected. However, this is useful when you want to create a complex selection like "All from ... to ... except ...".
Implementation
In the 'writeColumn' function in DefaultTableRenderer, the 'onclick' method was only added to a row if it was selectable (isSelectable) and not already selected (isSelected). Now, regardless of the row’s current selection status (isSelected), the ‘onclick’ method is written as long as the row is selectable.
Test
In a 'Grid' that allows multiple selections, select rows and deselect them again using CTRL-click. Perform this in both 'EditMode' and 'ViewMode' to verify that 'FormFields' are created and deleted correctly.