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

child gridview cell formatting

2 Answers 248 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hans
Top achievements
Rank 1
Hans asked on 09 Aug 2010, 04:32 PM
Hi !

How  can I format a cell in the child GridView?
Something like if a cell has value 20 to be red else black.

Regards,
Hans

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 11 Aug 2010, 08:15 AM
0
Svett
Telerik team
answered on 12 Aug 2010, 02:08 PM
Hello Shinu,

You can use two approaches to achieve the desired scenario. The first one uses our conditional formatting feature to change the appearance of the cells depending on their values. The second approach refers to subscribing for the CellFormatting event. You can read more about them in these documentation articles:


Let me know whether you have further queries.

Greetings,
Svett
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Hans
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Svett
Telerik team
Share this question
or