returns an object with the available configuration attributes of the control

object getProperties();


objectan object with the available attributes of the control and their values


var form = new dhx.Form("form_container", {
    rows: [
            type: "datepicker",
            name: "datepicker",
            label: "date",
            labelWidth: "50px"
// -> the returned object:
    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"


The returned object of the DatePicker control can contain the following configuration attributes:

Change log

added in v7.0

Back to top