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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Get selected rows bound to collection in view model

Thread ID:

Created:

Updated:

Platform:

Replies:

128982 Feb 20,2017 09:43 AM UTC Feb 22,2017 07:38 AM UTC WPF 3
loading
Tags: SfDataGrid
Somanna Chottekalapanda
Asked On February 20, 2017 09:43 AM UTC

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

Jai Ganesh S [Syncfusion]
Replied On 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 
 


Somanna Chottekalapanda
Replied On 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

Jai Ganesh S [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;