BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi,
Do you have an example of conditional formating done in c# and not in XAML ?
Similar to the pivotgrid here : http://help.syncfusion.com/ug/wpf/pivot%20analysis/default.htm#!documents/1627conditionalformatting.htm
but for GDC
I can't figure out the names & I need to do that at run time
Thanks,
Fabrice
Hi Fff,
Thanks for using Syncfusion Products.
We have attached a sample based on your requirements. Find the attached sample.
Please let us know if this helps.
Thanks,
Ganesan V
Hi Fff,
Thanks for your patience.
We have created a sample to achieve your requirement such as binding 3 observable collection using SfDataGrid control.
You can find the attached sample under the following location:
Please let us know if you have any queries.
Thanks,
Ganesan V
Hi Fff,
Sorry for the inconvenience caused.
In our previous update, we have wrongly updated the sample using SfDataGrid instead of GridDataControl. Now we have created the sample with binding 3 collection in c# using GridDataControl. Please find the attached sample under the following location.
Please let us know if you have any queries.
Thanks,
Ganesan V
Hi Ganesan,
The c# you provided works good and I have applied it a lot !
However I came to a strange case:
I would like to do some conditional formatting if there is no value in the cell = binded database returns 'null'
As value for the parameter, I have tried null
I have tried also '' (single quote)
I have tried also"" (double quote)
..... all # above are giving me a compile error ... and no idea what else to test to detect that
So how can I test that null in conditional formatting ?
Thanks,
Fabrice
Hi Fabrice,
We have analyzed the reported issue “Compilation Error while apply Conditional formatting for null values in Grid” and we have applied the conditional formatting for null values, but we are unable to reproduce the issue. Please refer the attached sample.
Please let us know if you have any queries,
Regards,
Ganesan V