MVVM: Single datagrid row selection when a datagrid contains anotherdatagrid in side RowDetailsTempl

  • Thread starter Thread starter Sunita
  • Start date Start date
S

Sunita

Hi,

I am having a datagrid, inside which i have another datagrid placed in
RowDetailsTemplate.I have expander and collapse button to open the
child datagrid. When i select the expander/collapse button, the row of
the parent datgrid gets selected and the child datagrid is loaded with
data. Next, i select the child datagrid row. So my problem is when i
am selecting the child dataridrow, i want to de-select the parent
datagrid row selection.

Please help.
 
Back
Top