Link Search Menu Expand Document

SSpread.BeforeRowMove Event

Occurs when the user tries to move a row by dragging and dropping.

※ Line movement has not been completed when this event occurs. Use the AfterRowMove event if you want to perform processing that is expected after the row has been moved.

The following child objects are attached to the Event object.

Type Name Description
Number Row Row number of the row to move
Number RowDest Row number of the destination row

Example of usage

AllowRowMove = $TRUE;
Function OnBeforeRowMove (e) {
    MessageBox ( strf ("Move from% 1st row to % 2nd row ", e.Row , e.RowDest ));
}

Related Item
AllowRowMove property
AfterRowMove event