SMART datagrid v.1 > Classes

Back  Forward

abstract DataLudi.Stroke  class

The stroke information object which is used to draw the border of data cell. 

It is used as Grid Styles property. When specify property value, it will specify as string or number and create or reuse as an appropriate stroke object internally. You do not need to directly create this class object. Please refer to Fill And Stroke page. 

 

Code -1
    colum.setStyles({
        // solid pen
        borderLeft: '#ff0000'
    });
    // solid pen
    column.styles().setShapeBorder(0xff00ff00);
See Also
Fill And Stroke
Fill
Grid Styles
Color
Examples
Column Styles