SMART datagrid v.1 > Classes > RangeHoliday

Back  Forward

DataLudi.RangeHoliday.startDate  property

The first date of holiday specification range. 

It specifies the end date by endDate. Please refer to RangeHoliday page about the way to specify the range. 

Defaults to null.

Getter
function startDate(): String|Date
Setter
function setStartDate(value: String|Date)
Code -1
    var columns = [{
        editor: {
            type: "date",
            holidays: [{
                type: "range",
                startDate: "2016/07/11",
                endDate: "2016/07/13",
                description: "Company Workshop"
            }]
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
endDate
Examples
DateEditor