Hi Sascha,
Thanks for contacting Syncfusion Support.
We have checked the reported query “Change Column Cells background based on value” from our side. You can achieve your requirement by using CellStyle property GridColumn and using converter in style.
Code snippet XAML: CellStyle applied to specific column.
<Window.Resources>
<local:ColorConverter x:Key="converter"/>
</Window.Resources>
<syncfusion:GridTextColumn HeaderText="Order id" MappingName="OrderID">
<syncfusion:GridTextColumn.CellStyle>
<Style TargetType="syncfusion:GridCell">
<Setter Property="Background" Value="{Binding Path=OrderID,Converter={StaticResource converter}}"/>
</Style>
</syncfusion:GridTextColumn.CellStyle>
</syncfusion:GridTextColumn> |
We have attached the sample for your reference and you can download the sample from the following location.
We have already published UG and KB for this use case and you can refer from the following locations.
Please let us know if you would require further assistance.
Regards,
Jayaleshwari N.