Grouping by Date then hours

2 posts, 1 answers
  1. Chris
    Chris avatar
    4 posts
    Member since:
    Jul 2012

    Posted 14 Jan 2013 Link to this post


    I need a way of grouping by date then subgrouping by hours, is this currently possible with the pivot grid?


    01 02 03 04 05

    Many Thanks

  2. Answer
    Rosen Vladimirov
    Rosen Vladimirov avatar
    640 posts

    Posted 14 Jan 2013 Link to this post

    Hi Chris,

    If you want to implement grouping by day you can use our DateTimeGroupDescription with Step=Day. To have hour grouping you will have to create CustomGroupDescription and override its GroupNameFromItem method. This method returns the group name where the item will be included to. We have implemented a simple solution for your case, you can find it attached and use it for your reference.

    Feel free to contact us if you have any problems or concerns.

    Rosen Vladimirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top