Restrict header depth

6 posts, 0 answers
  1. Michaël
    Michaël avatar
    44 posts
    Member since:
    Feb 2014

    Posted 07 Dec 2014 Link to this post

    Hi,

    The ability to click into the header to trigger month and year view is very handy, however it goes too far for us (it goes to ten years range, and it breaks our design). We'd like to limit how far it goes, and stop at "year". I didn't find any setting to do that (it seems that the depth parameter is used for something else...).

    Could you please provide me a way to do that?

    Thanks
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 10 Dec 2014 Link to this post

    Hello Michaël,

    Limiting how far up the calendar can go is not supported out of the box, however this could be achieved using a custom solution, as shown in this example.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Yuri
    Yuri avatar
    2 posts
    Member since:
    Jul 2015

    Posted 07 Jul 2015 in reply to Alexander Popov Link to this post

    Hi,

     

    So what does "depth" setting do then?

     

    Thanks

  5. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 09 Jul 2015 Link to this post

    Hi Yuri,

    The depth option is used to specify how far down you can go (see example).

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Yuri
    Yuri avatar
    2 posts
    Member since:
    Jul 2015

    Posted 09 Jul 2015 in reply to Alexander Popov Link to this post

    Thanks.

    I see. I think it will be really useful to have another setting which would limit 'expanding' into opposite direction. Say start:'month', max:'year'. So user can't go to decade view in this example.

  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 13 Jul 2015 Link to this post

    Hello Yuri,

     

    You can submit this as a feature request on UserVoice, so that it is considered for implementation in a future release.

     

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready