DateTimeGroupDescription step half year missing

3 posts, 0 answers
  1. Huong
    Huong avatar
    5 posts
    Member since:
    Aug 2012

    Posted 24 Jul 2014 Link to this post

    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. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 28 Jul 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Huong
    Huong avatar
    5 posts
    Member since:
    Aug 2012

    Posted 29 Jul 2014 Link to this post

    Hi Rosen,

    I resolved the issue with your source code. :)

    Thanks,
    Huong


Back to Top