SMART datagrid v.1 > Classes > GridBody

Back  Forward

DataLudi.GridBody.deletedStyles  property

Style Set which is used in drawing the deleted data row. 

The style specified in this property takes precedence over all settings such as column style or dynamic style, etc. Since the default style property exists, if do not want to display the deleted row separately, you should empty this property value. If specify an empty object or empty value, the existing settings will be removed. 

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