SMART datagrid v.1 > Classes > Holiday

Back  Forward

DataLudi.Holiday.background  property

The background color which is used when displaying holiday cell specified in this object in DateCellEditor calendar. 

Defaults to "#f5f5f5".

Getter
function background(): String|Fill
Setter
function setBackground(value: Fill)
Code -1
    var columns = [{
        editor: {
            type: "date",
            holidays: [{
                type: "date",
                dates: ["2016/07/11", "2016/08/11"],
                background: "#10ff0000",
                color: "#800",
                border: "#f00"
            }]
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
color
border
description
Examples
Date Editor