SMART datagrid v.1 > Classes > GridStyles

[ grids ver.1.3.8]   Back  Forward

DataLudi.GridStyles.borderTopSize  property

The size of the top border of cell. 

It can be specified by a constant value or percentage value or null. If do not specify this value, it will be drawn by adjusting to the width of cell. If set as less than the height of cell, it will be displayed by adjusting to the horizontal center. 

Defaults to null.

Getter
function borderTopSize(): Dimension
Setter
function setBorderTopSize(value: Dimension|Integer|String)
Code -1
    column.header().styles().setTopSize(66);
    // or 
    column.header().styles().setTopSize('60%');
See Also
borderLeftSize
borderRightSize
borderBottomSize
borderLeft
borderRight
borderTop
borderBottom
Grid Styles Overview
Examples
Paging Rows
Column Headers