SMART datagrid v1.4 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.defaultColumnWidth  property

컬럼들의 기본 너비를 지정한다. 

기본값은 120.

Getter
function defaultColumnWidth(): Integer
Setter
function setDefaultColumnWidth(value: Integer)
Code -1
    grid.setOptions({
        display: {
            defaultColumnWidth: 120,
            columnResizable: true
        }
    });
Code -2
    grid.setDisplayOptions({
        defaultColumnWidth: 120,
        columnResizable: true
    });
Code -3
    grid.displayOptions().setDefaultColumnWidth(true);
See Also
columnResizable
GridColumn.width
Examples
Column Layouts