Hi,
I have to set multiple row selection of xam grid from View model.
Is there any way by which i can do this?
Thanks,
Hemant
I don't see why you couldn't. You would just need to add the selected items to the SelectionSettings.SelectedRows property in the attached property's PropertyChangedCallback
By this i can get selected rows of grid in view model but i am not able to select row from View model.
You could use and attached property or custom behavior.
custom behvaior example:
http://ko.infragistics.com/community/blogs/blagunas/archive/2012/07/16/creating-a-command-behavior-for-the-xammenuitem.aspx
attached property exemple:
http://ko.infragistics.com/community/blogs/blagunas/archive/2012/06/01/an-mvvm-friendly-property-for-the-xamdatapresenter-doubleclick-event.aspx