I have a Radgridview with merged cells. When I select a merged cell, the selected row in the ViewModel does not change. I need to get all rows whose cells are included in the selected merged cell. Can it be done?
1 Answer, 1 is accepted
0
Dinko
Telerik team
answered on 11 Jul 2023, 11:45 AM
Hello Vlad,
Merged cells are not included in the selection. The GridView control ignores these cells during the selection process. In other words, you cannot get the selected merged cells, because they are never part of the selection. We already have logged a feature request to allow selection in the merged cells. You can track its status in the feedback portal.
The current cell is the last clicked cell, so if this was a merged cell, then you can get it through the GridViewMergedCell property. You can take a look about GridViewMergedCell class in our documentation.