This is a migrated thread and some comments may be shown as answers.

Change Color of the GridViewCell

1 Answer 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
crazy05
Top achievements
Rank 1
crazy05 asked on 26 May 2015, 08:25 PM

Hello,

 Below is my GridViewDataColumn and I am binding through ItemsSource.

<telerik:GridViewDataColumn Header="MVAR" DataMemberBinding="{Binding Value, Mode=TwoWay,NotifyOnSourceUpdated=True,NotifyOnValidationError=True,NotifyOnTargetUpdated=True}" Width="100" IsReadOnly="False" >                                  
</telerik:GridViewDataColumn>

 

If user changes the values, I want to change the foreground color of the cell. How can I do this ?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 27 May 2015, 07:40 AM
Hello Ram,

In order to apply conditional styling, I can suggest you applying a CellStyleSelector. You can also check the CellStyleSelector online demo. 

Regards,
Dimitrina
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
crazy05
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or