I have a RadGridView where I would like the following behavior:
- only 1 or 0 rows can be selected at any given time
- if I click on a row that is unselected, the row will become the only row selected
- if I click on a row that is already selected, the row will become deselected
This type of selection seems to be somewhere between the Single SelectionMode (in that only one row can be selected at once) and the Multiple SelectionMode (in that a row can be deselected by clicking on it).
Is there an easy/clean way to do this?
- only 1 or 0 rows can be selected at any given time
- if I click on a row that is unselected, the row will become the only row selected
- if I click on a row that is already selected, the row will become deselected
This type of selection seems to be somewhere between the Single SelectionMode (in that only one row can be selected at once) and the Multiple SelectionMode (in that a row can be deselected by clicking on it).
Is there an easy/clean way to do this?