I have a grid with columns that contains other grids.
I need to be able to programatically set record.isSelected in the one subgrid, that matches my ActiveDataItem, which I am tracking in my ViewModel. Any ideas how to achieve that?
Hi,
I’m attaching a sample showing how to set the selected rows by using Behaviors which extend the viewmodel and allow you to keep the grid and the view models’ SelectedRows collection in sync.
There is always only one Active item, while the SelectedRows is a collection. From your comment I’m not sure if you want to only have one selected row. Please let me know if you wanted that as well.
Let me know if you have any questions.
I don’t know if you’ve had an opportunity to review my sample.
Please let me know if there is anything further that I can help you with regarding this question.