Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2690
ConditionalFormat
posted

Is it possible to conditional style a column in the xaml

If the value of that cell is 0 or null then it should have bgcolor red

 

Currently I am doing this in cellcontrolAttached

by checking the column key and then based on the value styling the cell

 

Can it be done just using xaml?

Parents
No Data
Reply
  • 2690
    posted

    I gave the below in xaml

    <ig:TextColumn.ConditionalFormatCollection>
                                            <ig:LessThanOrEqualToConditionalFormatRule Value="0" StyleToApply="{StaticResource SomeColumnStyle}" />
                                        </ig:TextColumn.ConditionalFormatCollection>

     

    This works but I always have to give scroll up down for this to work

    Is that a bug?

    After i scroll datagrid i am able to get the given style

     

Children