Brian Vallelunga
Top achievements
Rank 1
Brian Vallelunga
asked on 17 May 2012, 07:58 PM
Is it possible to change a DatePicker depth after creation? I have a date picker next to a DropDownList. After I change the DDL's value, I want the DatePicker's depth to change, based on a function I set. Ideally this would all be done using the MVVM framework, but I'm willing to accept workarounds.
4 Answers, 1 is accepted
0
Accepted
Hello Brian,
Georgi Krustev
the Telerik team
You can change the depth of the DatePicker if you re-set the options of the DatePicker and the corresponding DateView. Check this jsFiddle demo for more information.
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Brian Vallelunga
Top achievements
Rank 1
answered on 22 May 2012, 03:55 PM
This worked perfectly thanks. I think this might be better exposed as a new set of methods though. Doing this isn't discoverable at all.
0
Heath
Top achievements
Rank 1
answered on 12 Aug 2015, 06:19 PM
I'm attempting to create this same effect within a TabStrip however I am getting no refresh or change to the calendar an suggestions?
0
Hello,
Does the problem occurs when the widget is not nested inside a TabStrip?
Could you please provide Kendo Dojo which demonstrates your current implementation so I can examine it and assist you further?
Regards,
Alexander Valchev
Telerik
Does the problem occurs when the widget is not nested inside a TabStrip?
Could you please provide Kendo Dojo which demonstrates your current implementation so I can examine it and assist you further?
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!