SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.shapeInactiveColor  property

セルに表示されるshapeが非活性化状態である時、shapeの背景色を描画する時に使われるFillの客体。 

Shapeはcanvasやsvg apiを利用して描画される。 下のサンプルでのように色々な方法で指定することができる。 

Getter
function shapeInactiveColor(): Fill
Setter
function setShapeInactiveColor(value: String|Fill)
Code -1
    // solid fill
    column.styles().setShapeInactiveColor('#3300ff00');
    // solid fill
    column.styles().setShapeInactiveColor('#00ff00');
    // rgba()
    column.styles().setShapeInactiveColor('rgba(255, 254, 253, 0.5)');
    // linear gradient
    column.styles().setShapeInactiveColor('linear,#ffffff,#f0f0f0,90');
    // or
    column.setStyles({
        shapeInactiveColor: '#ff0000',
        shapeInactiveBorder: '#00ff00'
    });
See Also
shapeInactiveBorder
shapeColor
shapeBorder
Fill
色の設定
Gridスタイル概要
Examples
Shape Cell Renderer
カラムスタイル