I have a grouped radgridview.
What I am trying to accomplish is, when a regular (not group row) row is selected, I would like to change the background color of it's group row so it will be easy to see it (the group row of the selected regular row).
For example -
Group Row A
Group Row B
if the user selects the row "2" I want "Group Row A" to change color. If the user then selects row "4" I want "Group row B" to change color (and "Group Row A" to change back to it's default color).
I have succeeded to change the color of the group row when selecting the group row directly (through the ViewRowFormatting event) but can not do it in a good way when a regular row is selected (in the SelectionChnaged event). I tried using:
1) From SelectionChanged event calling this.gridView.TableElement.Update(GridUINotifyAction.Reset) but it brings the table back to the top if the user scrolled down.
2) From SelectionChanged - tried to get the group row of the selected row and change it's background. Can not find the way to get to the GroupRowElement where I can access the background property.
Please help, any advice to achieve this would be appreciated!