SMART datagrid v.1 > Classes > GridStyleSheet

Back  Forward

DataLudi.GridStyleSheet.grid  property

Currently, it is used to draw the grid border. 

When draw the border, it will use GridStyles.border and ignore GridStyles.borderLeft, etc. And, you can also specify border as null and replace as the border of div container in which creates grid. 

Getter
function grid(): GridStyles
Setter
function setGrid(value: Object|GridStyles)

 

Code -1
    grid.loadStyles({
        grid: {
            border: "#f00,2px"
        }
    });
See Also
GridStyles.border
Examples
Load CSV Data