Hi,
I am using the Xamdatagrid in order to display Hierarchical data.
I had a few questions regarding displaying the data in an "easy" to view fashion
Basically, what I would like to achieve is if the user has expanded a certain parent record that has children asssociated to it, could we present this collection(parent and its children) in an intuitive way with different colors so that they can differentiate this data from the rest of the data.
I am not sure if I am making myself clear....but If the user has expanded several records, then my problem becomes a bit more understandable....
Thanks for your suggestions
Hello,The best approach would be to utilize styles for the CellValuePresenter. You could use IValueConverters to make this conditional formatting. You can see an example of how to use IValueConverters in the XamDataGrid here:
http://blogs.infragistics.com/blogs/alex_fidanov/archive/2010/01/12/howto-using-wpf-converters-to-style-the-xamdatagrid.aspx