SMART datagrid v.1 > Classes > GridBody

Back  Forward

DataLudi.GridBody.updatedStyles  property

Style Set which is used in drawing updated data row. 

The style specified in this property takes precedence over all settings such as column style or dynamic style, etc. If specify an empty object or empty value, the existing setting will be removed. 

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