Hello everyone,
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
ThankYou
I'm looking for the same thing too. How do I get the row highlighted.
Hi,
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?
Thanks
Hello,
I'm having the same issue.
I know I can select items from the code by:
record.IsSelected = true
or
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?
Thanks!
You should be able to select records in both ways:
xamDataGrid1.Records[0].IsSelected = true;
xamDataGrid1.SelectedItems.Records.Add(xamDataGrid1.Records[1]);
If the issue still exists, can you please provide us with a sample project that reproduces this issue.
I can have multiple row selected so i need all the rows to b highlighted