SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.shapeHoveredBorder  property

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

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

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