In my silverlight application I have a page with a radgridview,
this radgridview has another control as RowDetailsTemplate.
In this RowDetailsTemplate is another radgridview with another controls as RowDetailsTemplate.
this RowDetailsTemplate also has a radgridview.
All the gridviews have several bindings to my ViewModel (I’ve used MVVM)
The hierarchy is like this:
- RadGridView
- RadGridView (in fact a seperate control with a gridview, setup as rowdetailstemplate on the parent gridview)
-RadGridView (in fact a seperate control with a gridview, setup as rowdetailstemplate on the parent gridview)
In my setup you can have one row selected for every grid / detail grid.
This means you can visually have 1 to N rows selected in the entire grid.
This looks pretty chaotic and isn’t very user friendly.
My question:
What is the best way to change this so only one row can be selected, instead of 1 to N?
I dont know if it would be the desired way.. But you could do something like this…
Basically you would loop through the grids that didn’t cause the event to deselect everything.