SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.inactiveColor  property

Fill object which is used such as text color in the cell of deleted row. 

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

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