Hi,
How to highlight a row programmatically? My XAMDatagrid is bound to a datatable. If a particular field in the datatable row matches the filter criteria(which is not a UI filter), then those rows have to be highlighted in the grid.
Thanks,
Poornima
Hi Matt,
When I scroll through the records in my xamdatagrid(with few highlighted records) I see that many records are getting highlighted by itself. Is this some intended behavior?
HI,
I am just following up on ths forum thread.
Please let me know if you need further assistance.
Sincerely,
Matt Developer Support Engineer
I am attaching a sample application that binds the XamDataGrid to the NorthWind Access Employee DataBase. If the Employee is from London, I hightlight the row.
Due to space limitations, you will need to get your own copy of the MsAccess version of the NorthWind Databases.
Please review my sample.
Sincerely, Matt Developer Support Engineer
I went through the link which you have suggested. But my requirement is a little different.
The value in the cell doesnt change in my case. If I receive a value from the user through some other input, and if the value matches any record, then that record should be highlighted.
How can I handle this?
HI gspurnima,
Here a link on how to conditiionally format records int the XamDataGrid based on value in a specific field.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=10107