SMART datagrid v.1 > Classes > GridStyles
DataLudi.GridStyles.border property
The style which is used when display the whole boundary of area like grid border, etc.
- Getter
- function border(): Stroke
- Setter
- function setBorder(value: String|Stroke)
- Note
- Currently, in most cases like data cell, header cell, it does not use this style property. It is drawn by using borderRight, borderRight, etc.
Code -1
grid.loadStyles({
grid: {
border: '#0000ff'
}
});
Code -2
grid.styles().setBorder('#ff0000');
- See Also
- borderTop
- borderBottom
- borderLeft
- borderRight
- Fill & Stroke
- Styles Overview
- Examples
- Style Region - Grid