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
975
XamDataGrid, selected row does not get highlighted
posted

I know that I can pragmatically add selected items by either of the following: 

xamDataGrid1.Records[0].IsSelected = true;

xamDataGrid1.SelectedItems.Records.Add(xamDataGrid1.Records[1]);

However the records in the grid do not get highlighted. How do I make the selected items appear highlighted in the grid?