GC.Spread.Sheets 名前空間 > Commands タイプ : resizeRow フィールド |
true
、それ以外の場合はfalse
。Javascript (Specification) | |
---|---|
var resizeRow : resizeRow; |
//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"/>