When you set a RadGridView's SelectionMode to GridViewSelectionMode.CellSelect and then you highlight full rows by using the row header, the SelectedRows collection is empty. Telerik support informed me this is "as expected" and that I should use "SelectedCells" collection when using the CellSelect Mode. While this is a decent workaround I don't see why SelectedRows collection can't be filled when the entire row is actually highlighted.
Item is declined until further information is provided.
Hi Jared, I have tested the standard grid in CellSelect mode and its SelectedRows collection is not filled as well, so we behave the same. Still, you can always iterate the SelectedSell and check if you have full rows selected easily.
Anytime someone wants to use the SelectedRows property when SelectionMode is set to GridViewSelectionMode.CellSelect. Often times in our desktop app our users are accustomed to selecting rows they want to perform an action on, such as run a report, and click a button. The native WinForms DataGridView allowed selecting multiple cells within the grid and also full rows. I've lost that functionality since I converted our most used grid to the Telerik RadGridView.
Hi Jared, can you please provide a use case, where such functionality is needed?