The scenario involves a Grid in single selection mode.
Test number 1:
- Click a row, it gets selected.
- Click the same row again, it now gets unselected, as expected.
Test number 2:
- Redisplay the Grid where a particular row is selected programatically, via grid.select(itemId).
When you click on that pre-selected row the row does not unselect!
- If you click on any other row the new row gets selected as expected, the original row gets unselected as expected.
- Clicking again that second row unselects it as expected.