SMART datagrid v.1 > Classes > GridBody

Back  Forward

DataLudi.GridBody.checkedStyles  property

Style Set which is used in drawing Checked Grid Row

The style specified in this property takes precedence over all property settings such as column style or dynamic style, etc. If specify an empty object or empty value, the existing setting will be removed. In addition, if want to maintain the style of specific columns, you can use Dynamic Styles instead. 

Getter
function checkedStyles(): GridStyles
Setter
function setCheckedStyles(value: Object|GridStyles)
Code -1
    grid.setBody({
        checkedStyles: {
            background: '#10ff0000',
            foreground: '#880000'
        }
    });
    
    // Empty this property value.
    grid.body.setCheckedStyles();
See Also
rowDynamicStyles
createdStyles
deletedStyles
updatedStyles
DataRowState
GridStyles
Examples
HelloGrid
Row Styles