SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.inactiveBackground  property

Fill object which is used when draw such as cell background of deleted row. 

It can be specified in different ways as the example below. 

Getter
function inactiveBackground(): Fill
Setter
function setInactiveBackground(value: String|Fill)
Code -1
    // solid fill
    column.styles().setInactiveBackground('#3300ff00');
    // solid fill
    column.styles().setInactiveBackground('#00ff00');
    // rgba
    column.styles().setInactiveBackground('rgba(255, 254, 253, 0.5)');
    // linear gradient
    column.styles().setInactiveBackground('linear,#ffffff,#f0f0f0,90');
    // or
    column.setStyles({
        inactiveBackground: '#ff0000',
        inactiveColor: '#00ff00'
    });
See Also
Fill
inactiveColor
background
Colors Setting
Grid Styles Overview
Examples
Column Styles
Column Dynamic Styles