SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.rowHeight  property

The default height of rows. 

If the value is 0, it will be displayed as the height which has been automatically calculated during run time. If set the value as greater than 0, it will not be calculated automatically, and will be displayed as the specified value. 

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