SMART datagrid v.1 > Classes > ColumnHeader

Back  Forward

DataLudi.ColumnHeader.subTextLocation  property

主要文本为标准的子文本的位置。 

通过SubTextLocation常数,进行指定。如果这个值为undefined,就会使用GridHeadersubTextLocation值。 

Getter
function subTextLocation(): SubTextLocation
Setter
function setSubTextLocation(value: SubTextLocation)
Code -1
    var header = column.header();
    header.setSubTextLocation(DataLudi.SubTextLocation.BOTTOM);
Code -2
    column.setHeader({
        subTextLocation : 'top'
    });
See Also
subText
subTextGap
GridHeader.subTextLocation
Examples
列标头