SMART datagrid v.1 > Classes > GridStyles
セルに表示されるshapeが非活性化状態である時、shapeの背景色を描画する時に使われるFillの客体。
Shapeはcanvasやsvg apiを利用して描画される。 下のサンプルでのように色々な方法で指定することができる。
// 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'
});