SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.hoveredColor  property

Fill object which is used when draw the text of cell over which has located the mouse in Column Header or Row Indicator

The value can be specified in different ways as the example below. 

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