I'm adding a RadContextMenu to a grid with:
- ClientSettings-AllowRowSelect=true
- AllowMultiRowSelection=true.
I'm trying to control the behavior of the selected state of the rows in the following way:
- If the context menu is activated over a row that was previously selected, then that row and any other selected row should remain selected.
This works fine. - If the context menu is activated over a row that was not previously selected, then select the row and deselect all others.
This is the problem I'm having: If I right click on a grid row that is not selected, it selects that row and leaves all others selected. In the client-side context menu script, I'm trying to deselect all rows and then reselect the clicked row. Is this possible? I can't seem to figure out how to identify the row that was "right-clicked".
Thanks!