Configuration of UI DateTimeGroupDescriptions in RadPivotList

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    28 posts
    Member since:
    Jun 2010

    Posted 05 Jul 2013 Link to this post

    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 
  2. Polya
    Admin
    Polya avatar
    200 posts

    Posted 05 Jul 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top