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

Style selector with aggregation function

4 Answers 84 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.
Thomas
Top achievements
Rank 1
Thomas asked on 19 Jul 2011, 08:30 AM
Hi,
is it possible to use a style selector for a cell with aggregation functions? I want to set the background of a cell if the value is 5% above the average of this column. I couldn't find anything in the documentation or in this forum regarding this.

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Jul 2011, 08:39 AM
Hello,

 Have you checked this demo

Best wishes,
Vlad
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Thomas
Top achievements
Rank 1
answered on 19 Jul 2011, 09:02 AM
I don't want to style the footer :-).

Here is an example of what I mean:
Let's say we have 5 values:
3
6
2
7
5

The average of these values is 4.6. I want to style the values that are 150% of the average and above. 150% of 4.6 is 6.9. So the only value that should get styled is 7.
0
Vlad
Telerik team
answered on 19 Jul 2011, 09:03 AM
Hi,

If you want to style data cells you can check related example as well. 

Regards,
Vlad
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Thomas
Top achievements
Rank 1
answered on 19 Jul 2011, 09:17 AM
I can't find an example where you're using an aggration function to style a cell without a grouped grid.
Tags
GridView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or