How do i enable multiple row selection in the xamGrid. Also When i select a row, I have to click on a cell which is then highlighted. Is there any way we keep keep the entire row selected instead of keeping the row selected along with the clicked cell highlighted.
Hi,
Multiple row selection:
grid.SelectionSettings.RowSelection = SelectionType.Mutliple
The "highlighting you're seeing is activation, and it''s showing the currently active cell, as that's what keyaboard navigation/ editing are based around.
If you really wanted to remove it, you'd need to re-template the CellControl, and remove the Active visualState.
As for drawing a box around the entire row, that's something that isn't possible to do with the xamGrid. Your only option for highlighting is via brushes.
-SteveZ
If you see in the above image.. even when setting the cellclickaction="selectRow" the cell still remains highlighted. I want the highlighting to be removed and the entire row to be selected instead.
Also how do i enable multiple row selection in the xamGrid?
I'm not entirely sure what you're asking.
Are you asking about having a row be selected when you click on a cell?
If so, then just set CellClickAction off of the SelectionSettings to be SelectRow.