SMART datagrid v.1 > Classes > GridHeader

Back  Forward

DataLudi.GridHeader.subTextLocation  property

The location of sub text based on main text. 

It specifies by SubTextLocation constant. If subTextLocation of ColumnHeader is undefined, it will use this value. 

Defaults to SubTextLocation.BOTTOM.

Getter
function subTextLocation(): SubTextLocation
Setter
function setSubTextLocation(value: SubTextLocation)
Code -1
    grid.setHeader({
        subTextLocation : 'top'
    });

    // or, by property
    grid.header().setSubTextLocation(DataLudi.SubTextLocation.BOTTOM);
See Also
subTextGap
ColumnHeader.subTextLocation
Examples
Column Header