SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.styles  property

Style Set which is being used to draw the border and background of grid view. 

Getter
function styles(): GridStyles
Setter
function setStyles(value: Object|GridStyles)
Code -1
    // Display the grid border with bold dash and the background in red.
    grid.setStyles({
        background: '#10ff0000',
        border: '#f00,2px,dashed'
    });
See Also
defaultStyles
GridStyles
Examples
Grid Default Styles
Style Region - Grid