SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.shapeBorder  property

Stroke object which is used when draw the border of shape which is displayed in cell. 

The shape is drawn by using canvas or svg api. It can be specified in different ways as the example below. 

Getter
function shapeBorder(): Stroke
Setter
function setShapeBorder(value: String|Stroke)
Code -1
    column.styles().setShapeBorder('#30000000,1');
    // If specify as null, it will not draw the border.
    column.styles().setShapeBorder(null);
    // Remove the existing setting value and download from the top styles list.
    column.styles().clearValue('shapeBorder');
See Also
shapeColor
Stroke
Grid Styles Overview
Examples
Shape Cell Renderer
Column Styles
Column Dynamic Styles