Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
"XamDataGrid SelectedItems for MVVM" example: Issue using "Shift" + "selection via mouse click"
posted

Hi,

I'm using the approach (http://www.infragistics.com/community/blogs/petar_monov/archive/2013/02/18/xamdatagrid-selecteditems-for-mvvm.aspx) from Petar Monov to bind the SelectedItems from the XamDataGrid to my ViewModel.

The issue that I found happens if I select Data from my ViewModel and then use the "Shift"+"selection via mouse click" on a not selected record from the XamDataGrid. Using "Shift"+"selection via mouse click" I expect that I get a range of selected records, instead I observe that the clicked Record is the only selected record. This issue can be observed in the example from the blog.

Which property of the XamDataGrid do I have to set to make this kind of selection work?

Kind regards,

Darius