Hi.
I'm using a grid that has parent child heirarchy details using heirarchychildtemplate using MVVM and EF. There is a plus sign in the left-most column for the user to click on to expand the row. When the user clicks on a cell in the row, the details expand normally and the row is selected. But when the user just clicks on the plus sign, the row is expanded but the row does not get selected and SelectedItem is not changing. But according to our functionality, selected item should be updated when the user clicks on the expand button also.
Please give an idea how to change the selected item of the radgriew of the parent grid when the user clicks on the expand button of the left-most column of the gridview.
I'm relatively new to WPF so apologies if I'm overlooking the obvious
Thanks & Regards
Somasekharan Thampi S
I'm using a grid that has parent child heirarchy details using heirarchychildtemplate using MVVM and EF. There is a plus sign in the left-most column for the user to click on to expand the row. When the user clicks on a cell in the row, the details expand normally and the row is selected. But when the user just clicks on the plus sign, the row is expanded but the row does not get selected and SelectedItem is not changing. But according to our functionality, selected item should be updated when the user clicks on the expand button also.
Please give an idea how to change the selected item of the radgriew of the parent grid when the user clicks on the expand button of the left-most column of the gridview.
I'm relatively new to WPF so apologies if I'm overlooking the obvious
Thanks & Regards
Somasekharan Thampi S