Kendo DateTimePicker change default time interval gap

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
WinstonFroidPinto
Posts: 32
Joined: Thu Mar 16, 2017

21 Mar 2017

How to change the interval in datetime field using kendo datetimepicker template to 15min?Right now default is 30min

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

21 Mar 2017

Hi,
Please, use the following code:

Code: Select all

fd.field('FieldName').control('kendoDateTimePicker')
	.done(function(picker) {
		picker.setOptions({interval: 15});
	});
Replace FieldName with the internal name of your date and time field.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests