SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.variableRowHeight  property

当没有包含具有两个以上子列的垂直布局的列组时,如果指定为true,就可以单独区分各个数据行的高度。 

默认值为false.

Getter
function variableRowHeight(): Boolean
Setter
function setVariableRowHeight(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            rowResizable: true,
            variableRowHeight: true
        }
    });
Code -2
    grid.setDisplayOptions({
        rowResizable: true,
        variableRowHeight: true
    });
Code -3
    grid.displayOptions().setVariableRowHeight(true);
See Also
rowResizable
fixedRowResizable
GridBase.setRowHeight
Examples
行高