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

DateTimeGroupDescription step half year missing

2 Answers 6 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Huong
Top achievements
Rank 1
Huong asked on 25 Jul 2014, 02:23 AM
Hi Telerik team,

Currently we only have Hour, Date, Month, Quarter, Year, we did not have Half Year. Is there any way to add Half Year step for DateTimeGroupDescription, display as 2014 H1, 2014 H2,...

Regards,

2 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 28 Jul 2014, 01:45 PM
Hi Huong,

You can achieve this functionality by creating custom GroupDescription and override GroupNameFromItem method - based on the returned name items will go in specific group. In order to modify RadPivotFieldList's tree at the top, you have to use GetDescriptionDataAsyncCompleted event.

I've prepared a sample project to demonstrate how to achieve all of the above. Please give it a try and inform us in case you have any problems or concerns.

Regards,
Rosen Vladimirov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Huong
Top achievements
Rank 1
answered on 29 Jul 2014, 09:22 AM
Hi Rosen,

I resolved the issue with your source code. :)

Thanks,
Huong


Tags
PivotGrid
Asked by
Huong
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Huong
Top achievements
Rank 1
Share this question
or