KendoDateTimePicker the drop-down list will consist only two entries - "9:30 AM" and "14:30 PM"
Asked
Active
Viewed 114 times
-1
-
So what is the question, exactly ? – Misam Sep 28 '15 at 09:58
-
If you only need 2 values, wouldn't it make sense to have a radio button group? Even a simple `select` would do the job and it would not require the additional JavaScript needed to run the DatePicker... – Andrei V Sep 28 '15 at 10:01
-
dropdown list should consist of only two entries, $("#timepicker").kendoDateTimePicker({ value: new Date(2000,10,1), dates: [ new Date(2000, 10, 10, 10, 0, 0), new Date(2000, 10, 10, 10, 30, 0) ] }); correct this code, thanks – Магжан Куан Sep 28 '15 at 10:03
-
So, you want a dropDownList with two options, and when the user selects one, the datepicker gets that selected value. Is this what you want? – chiapa Sep 28 '15 at 10:12
-
Yes, first choose the day, then the time of the two options, I translate the text, you can specify if something is not clear – Магжан Куан Sep 28 '15 at 11:01
1 Answers
0
With Kendo DateTimePicker
you can select the min
and max
dates but not a time range for each day BUT you can do it with TimePicker
.
Maybe you can decompose your UI in DatePicker
and TimePicker
and then choose max
and min
for conforming your time range.

layonez
- 1,746
- 1
- 16
- 20