Hi,
I have a self referencing grid view in a output.xaml and having an event in the ViewModel.
Calling this event while adding new items in the other screen (to add the Grid view Headers).
Add couple of Headers and click the Output tab to view the values in the Grid View. Now its showing the grid with parent child relationship and the headers.
Now if I go and add a new header then the event will be called in the ViewModel of the output and binding the grid to show the new headers and the relevant values for the column. Here I am facing problem that while re-binding it takes time and binding the grid without the self referencing hierarchy. it just binds all the rows in the datatable property as the parent node.
Anybody knows where i have made the mistake.
Thanks,
Ramasamy
I have a self referencing grid view in a output.xaml and having an event in the ViewModel.
Calling this event while adding new items in the other screen (to add the Grid view Headers).
Add couple of Headers and click the Output tab to view the values in the Grid View. Now its showing the grid with parent child relationship and the headers.
Now if I go and add a new header then the event will be called in the ViewModel of the output and binding the grid to show the new headers and the relevant values for the column. Here I am facing problem that while re-binding it takes time and binding the grid without the self referencing hierarchy. it just binds all the rows in the datatable property as the parent node.
Anybody knows where i have made the mistake.
Thanks,
Ramasamy