SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.includeHeaderWhenFitColumn  property

When adjust the width of columns to display all data cells by clicking the right side of Column Header, if specify this value as true, it will enable to display all contents of column header. 

You can also adjust the width by calling GridBase.fitColumnWidth directly. 

Defaults to false.

Getter
function includeHeaderWhenFitColumn(): Boolean
Setter
function setIncludeHeaderWhenFitColumn(value: Boolean)
Code -1
    grid.setDisplayOptions({
        includeHeaderWhenFitColumn: true
    });
See Also
fitColumnWidth
ColumnHeader
Examples
Column Headers