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

[Solved] How to change the background color depending on cell value.

1 Answer 123 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ralph
Top achievements
Rank 1
Ralph asked on 17 Aug 2011, 07:29 PM
What is the preferred method to change the values in a column based on the numerical value in the cell? I tried this in the RowLoaded handler and I have met with infrequent success, as you can see in this post My RowLoaded Attempt.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 17 Aug 2011, 08:12 PM
Hello Ralph,

 
The recommended approach to apply a cell style based on underlying property value is to use CellStyleSelector. You may check our docs and online demos for further reference.


 

Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Ralph
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or