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

[Solved] DateTime Grouping and Aggregation

1 Answer 106 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.
Marlos
Top achievements
Rank 1
Marlos asked on 24 Sep 2010, 03:09 PM
Good day,
I wonder how best to work with group
per period (day, month, quarter, semester, year) in RadGridView, similar
to what exists in RadChart?

http://demos.telerik.com/silverlight/#Chart/DateTimeGrouping

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 29 Sep 2010, 12:16 PM
Hello Marlos,

You can control how grouping is applied to a DateTime field by using some of the properties provided by DateTime. For example, if you would like to group by the date portion only, ignoring time differences, you can create a group descriptor similar to this:

<telerik:RadGridView.GroupDescriptors>
    <telerik:GroupDescriptor Member="Established.Date"/>
</telerik:RadGridView.GroupDescriptors>

Regards,
Milan
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
Marlos
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or