SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.maxRowHeight  property

The maximum 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. If it is 0, there will be no limit. You can specify the minimum height by minRowHeight

Defaults to 0.

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