DataLudi Grid v.1 > Classes > GridStyles

Back  Forward

GridStyles.shapeInactiveBackground  property

Fill object, which if it displays the shape as the disable status, use the background color in the cell renderer including direct drawing shape by canvas drawing api. When you set, you can specify various types as below examples. 

Getter
function shapeInactiveBackground(): Fill
Setter
function setShapeInactiveBackground(value: String|Fill)
Code -1
    // Solid Brush
    column.styles().setShapeInactiveBackground('#3300ff00');
    // Linear Gradient Brush
    column.styles().setShapeInactiveBackground('rgba(255, 254, 253, 0.5');
    // raba()
    column.styles().setShapeInactiveBackground('linear,#ffffff,#f0f0f0,90');
See Also
shapeBackground
shapeBorder
Fill
Style Overview
Examples
Shape Cell Renderer
Column Styles