SMART datagrid v.1 > Classes > Holiday

Back  Forward

DataLudi.Holiday.color  property

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

Defaults to "#ccc".

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