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

Custom multilevel date grouping - Is it possible?

2 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jens Hobbie
Top achievements
Rank 1
Jens Hobbie asked on 23 May 2011, 11:23 AM
Hello,

We have a request from customer to implement multilevel grouping for date columns. When user groups data by date column - that grouping is created by year / month / real date... (screenshot attached)

But when I try to add multiple GroupDescriptiors to grid for same member in code behind, error happens...

Is this functionality possible to implement?

2 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 24 May 2011, 10:13 AM

Hi Jens Hobbie,

There is no problem to do that with a simple GroupDescriptor. Simply use the respective properties of the DataTime class to achieve the required result. For example:

<telerik:RadGridView.GroupDescriptors>
    <telerik:GroupDescriptor Member="Established.Year"/>
    <telerik:GroupDescriptor Member="Established.Month"/>
    <telerik:GroupDescriptor Member="Established.Day"/>
</telerik:RadGridView.GroupDescriptors>



Best wishes,
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
0
Jens Hobbie
Top achievements
Rank 1
answered on 26 May 2011, 08:06 AM
Hello Milan,

I am working on some other request with bigger priority now, but I will try this later and let you know about the results.

Thanks on your help.

Best Regards.
Tags
GridView
Asked by
Jens Hobbie
Top achievements
Rank 1
Answers by
Milan
Telerik team
Jens Hobbie
Top achievements
Rank 1
Share this question
or