We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Get selected rows bound to collection in view model

Hi,
Is there are way to get the selected rows bound to a collection in the view model? The below has been set up for the grid.
SelectionMode="Extended"
SelectionUnit="Row"
NavigationMode="Row"

Thanks,
Som

3 Replies

JG Jai Ganesh S Syncfusion Team February 21, 2017 07:31 AM UTC

Hi Som, 
 
We already have a kb to bind the SelectedItems property from viewmodel and please find it from below, 
 
 
Regards, 
Jai Ganesh S 
 



SC Somanna Chottekalapanda February 21, 2017 09:32 AM UTC

Hi Jai Ganesh,

This is not working for me. May be because the selection unit is set as Row.

Thanks,
Som


JG Jai Ganesh S Syncfusion Team February 22, 2017 07:38 AM UTC

Hi Som,  
We have checked in our side to get the SelectedItems in viewmodel while setting the SelectionMode="Extended", SelectionUnit="Row" and NavigationMode="Row" but it working fine in our end. 
Could you please share more details about your issue or please state the issue in above sample? This would be more helpful for us to proceed further. 
Regards, 
Jai Ganesh S 


Loader.
Live Chat Icon For mobile
Up arrow icon