Skip to main content


returns an object with the available configuration attributes of the control

getProperties(): object;


An object with the available attributes of the control and their values.


const form = new dhx.Form("form_container", {
rows: [
type: "datepicker",
name: "datepicker",
label: "date",
labelWidth: "50px"


The returned object of the DatePicker control looks like:

dateFormat: "%d/%m/%y",
disabledDates: undefined,
editable: false,
errorMessage: "",
height: "content",
helpMessage: "",
hiddenLabel: false,
icon: "",
label: "date",
labelPosition: "top",
labelWidth: "50px",
mark: undefined,
mode: "calendar",
padding: 0,
placeholder: "",
preMessage: "",
required: false,
successMessage: "",
thisMonthOnly: false,
timeFormat: 24,
timePicker: false,
validation: undefined,
valueFormat: "string",
weekNumbers: false,
weekStart: "sunday",
width: "content"

You will find the description of these properties here.

Change log:

added in v7.0