Hi,
I have a hierarchical grid.
So that each row has it's Child Grid. Also I have the functionality of adding new rows to my child grid.
After adding a new row to the child grid, I must save the changes, so I must have the parent object Id.
Of course I can iterate through the ItemsSource, and find the appropriate object, but it's not the best way to do this,
Is there a simpler way to obtain the Parent Item?
P.S.
All the modifications are held in ViewModel, and not in xaml.cs.
Thanks,
Levon
I have a hierarchical grid.
So that each row has it's Child Grid. Also I have the functionality of adding new rows to my child grid.
After adding a new row to the child grid, I must save the changes, so I must have the parent object Id.
Of course I can iterate through the ItemsSource, and find the appropriate object, but it's not the best way to do this,
Is there a simpler way to obtain the Parent Item?
P.S.
All the modifications are held in ViewModel, and not in xaml.cs.
Thanks,
Levon