The trick is to set enableRowSelection
to False
, and have a change script on selectedRow
looking for None
, and then changing enableRowSelection
back to True
. The code must not set enableRowSelection
to False
when selectedRow
is already None
.
Basically, row selection can only be performed reliably by the client browser. When you disable row selection, that state gets sent to the browser, and it clears the selection. When you see that change back in the gateway, you can re-enable row selection.