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

Restrict header depth

5 Answers 12 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Michaël
Top achievements
Rank 1
Michaël asked on 07 Dec 2014, 11:38 AM
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

5 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 10 Dec 2014, 08:33 AM
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!
 
0
Yuri
Top achievements
Rank 1
answered on 07 Jul 2015, 03:04 PM

Hi,

 

So what does "depth" setting do then?

 

Thanks

0
Alexander Popov
Telerik team
answered on 09 Jul 2015, 08:40 AM
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!
 
0
Yuri
Top achievements
Rank 1
answered on 09 Jul 2015, 01:30 PM

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.

0
Kiril Nikolov
Telerik team
answered on 13 Jul 2015, 08:03 AM

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!
 
Tags
Calendar
Asked by
Michaël
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Yuri
Top achievements
Rank 1
Kiril Nikolov
Telerik team
Share this question
or