SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.minRowHeight  property

The minimum height value of rows when the user updates the row height by dragging the mouse or the grid automatically calculates the row height. 

It is specified in pixels. You can specify the maximum height by maxRowHeight

Defaults to 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
Row Heights