SMART datagrid v.1 > Classes > RangeHoliday

Back  Forward

DataLudi.RangeHoliday.endDate  property

The last date of holiday specification range. 

It specifies the start date by startDate. Please refer to RangeHoliday page about the way to specify the range. 

Defaults to null.

Getter
function endDate(): String|Date
Setter
function setEndDate(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
startDate
Examples
DateEditor