Hello
Can you give me some very simple example of the following:
I have the xamDataGrid that is bind to DataTable. This works perfectly: the columns and rows are all there.
I cannot find anywhere: what should I do, if - for each value - I would like to have some property (doesn't matter what it is now: a flag, a boolean property) - that will just trigger some cell style.
For example: For each value there should be a flag, that - when set to true - the font of that cell should be grayed out.
The crux is that it must be done with DataTable!
Hello,
Thank you for your reply. I am very glad that my suggestion helped solving your issue. Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Thank you, this is exactly what I needed!
Thank you for your reply and the clarification on your scenario. I have modified the sample application that you have provided me with, to show you can bind to the ForegroundStyle property to the Value of the Cell and apply different foreground based on your property.
Please let me know if you need any further assistance on the matter.
Hi Krasimir
Thank you.
I've attached very simple application that shows what I try to achieve.
Looking forward for reply!
Thank you for your post. I have been looking into the question that you are having and I will need some more information on the data that you are having. You have mentioned that you are binding the XamDataGrid to a DataTable and you wish have properties for each value that will determine the styling for the cell. Would you please clarify where those properties are defined and how you data is structured to have property for each of the cells of the DataTable and if possible, provide me with an example of your data, in order to be able to research how based on your data, the styles for the cells of the XamDataGrid can be created?
Looking forward to hearing from you.