SSpread.RowHeightChange Event
Occurs when changing the row height with the mouse.
The following child objects are attached to the Event object.
| Type | Name | Description |
|---|---|---|
| Number | Row1 | The first row number in the changed row range |
| Number | Row2 | The last row number in the changed row range |
Example of usage
Function OnRowHeightChange (e) {
for (var r = e.Row1; r <= e.Row2; r ++) {
if (RowHeight (r)> 40) {
RowHeight (r) = 40;
}
}
}
Related Item
RowHeight, UserResize, UserResizeRow property
ColWidthChange event