SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.minRowHeight  property

当用户拖动鼠标而修改行高或网格自动计算行高时的最小行高值。 

以Pixel为单位,进行指定。 可以通过maxRowHeight,指定最大高度。 

默认值为4.

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