SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.rowHeight  property

行的默认高度。 

如果值为0,就会在运行时间,显示为自动计算的高度。 如果设置为大于0的值,就不会自动进行计算,而是会显示为指定的值。 

默认值为0.

Getter
function rowHeight(): Integer
Setter
function setRowHeight(value: Integer)
Code -1
    grid.setOptions({
        display: {
            rowHeight: 25,
            minRowHeight: 10
        }
    });
Code -2
    grid.setDisplayOptions({
        rowHeight: 25,
        minRowHeight: 10
    });
Code -3
    grid.displayOptions().setRowHeight(500);
See Also
maxRowHeight
minRowHeight
rowResizable
columnResizable
Examples
行高