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

Configuration of UI DateTimeGroupDescriptions in RadPivotList

1 Answer 34 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 05 Jul 2013, 06:31 AM
Hi,

i have the following problems/questions:

1. Is it possible to change the calendar week Logic within the Pivot? Currently the calendar week is wrong for germany.
2. Is it possible to reorder the Date-Items in the Date Tree (RadPivotList) ? I think that "Date - Quarter" Element has to come bevore the "Date - Month" element because Quarter is greater than Month.
3. Is it possible to hide some DateSteps? If the underliying data is already in years, it would make no sense to view this data in Month or Day granularity.

Thanks and best Regards,
Thomas 

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 05 Jul 2013, 01:33 PM
Hi Thomas,

About 1. Is it possible to change the calendar week Logic within the Pivot? Currently the calendar week is wrong for germany.
Yes it is. You need to create your Group for Week and a description that uses your group in the GroupNameFromItem() to return a name for group that would contain your GroupItem.

About 2. Is it possible to reorder the Date-Items in the Date Tree (RadPivotList) ? I think that "Date - Quarter" Element has to come before the "Date - Month" element because Quarter is greater than Month.
We apologize for the wrong order of Date-Quarter and Date-Month. In our next internal build this issue will be resolved.

About 3. Is it possible to hide some DateSteps? If the underlying data is already in years, it would make no sense to view this data in Month or Day granularity.
Yes there is. You need to hook to LocalDataSourceFieldDescriptionsProvider.AddingContainerNode and hide, show or disable any field you want in the field tree.

You can find examples about 1. and 3. in our SDK examples (CustomizeFieldTree and CustomDateTimeGroupDescription).

Also I've prepared a sample project for you that demonstrates these things. You can find it attached.

Regards,
Polya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PivotGrid
Asked by
Thomas
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or