SpreadJS Documentation
RowHeightChanging Event
The sheet that triggered the event.
The sheet's name.
The list of rows whose heights are changing.
Whether the columns are column header columns.
A value that indicates whether the operation should be canceled.
Occurs when the row height is changing.
Syntax
var instance; // Type: Events
instance.RowHeightChanging = function(sheet, sheetName, rowList, header, cancel) { };
RowHeightChanging = function ( 
   sheet : Sheet,
   sheetName : string,
   rowList : Array,
   header : boolean,
   cancel : boolean
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
rowList
The list of rows whose heights are changing.
header
Whether the columns are column header columns.
cancel
A value that indicates whether the operation should be canceled.
Example
This example uses the RowHeightChanging event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.RowHeightChanging, function (e, info) {    
        alert("Row List (" + info.rowList + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.