i select row in xamdatagrid through code but the problem that the selected row doesn't get highlighted(or animated).Im using Office2k7Black theme so when i select a grid row through mouse it highlights the row with somewhat orange looks but it doesn't in case of code. I want same feature through code
I can have multiple row selected so i need all the rows to b highlighted
You should be able to select records in both ways:
xamDataGrid1.Records.IsSelected = true;
If the issue still exists, can you please provide us with a sample project that reproduces this issue.
I'm having the same issue.
I know I can select items from the code by:
record.IsSelected = true
grid.SelectedItems.Records.Add( record );
The problem is that, once it's selected, I expect those rows to be highlighted, however, it's not being highlighted.
Would you be able to help?
I'm experiencing exactly the same issue. Can anyone from the Infragistics team help? I tried both ways mentioned above as well as setting grid.ActiveRecord to the record which I want to have highlighted - nothing works. I can see that object's ActiveRecord and SelectedItem properties are changed correctly - its just the record does not get highlighted on the screen!
Can you help please?
I'm looking for the same thing too. How do I get the row highlighted.