SpreadJS Documentation
resizeRow Field
GC.Spread.Sheets Namespace > Commands type : resizeRow Field
Represents the command used to resize the row on a worksheet.
Syntax
var value; // Type: resizeRow
value = GC.Spread.Sheets.Commands.resizeRow;
var resizeRow : resizeRow;
Example
This example resizes rows.
//Add data
for (var col = 1; col < 6; col++) {
    for (var row = 2; row < 11; row++) {
        activeSheet.setValue(row, col, row + col);
    }
}

$("#button1").click(function () {
var rows = [ { firstRow: 3, lastRow: 5 } ];
spread.options.allowUndo = true;
spread.commandManager().execute({cmd: "resizeRow", sheetName: "Sheet1", rows: rows, size:50, isColHeader: false});
    });

<input type="button" id="button1" value="button1"/>
See Also

Reference

Commands type