Spread Windows Forms 10.0 Product Documentation
MoveRow Method
Example 


Moves the specified row from its current index to the specified index, and shifts each row in between and the destination row one row in the direction of the specified row.
Overload List
OverloadDescription
MoveRow(Int32,Int32,Int32,Boolean)Moves the specified row from its current index to the specified index, and shifts each row in between and the destination row one row in the direction of the specified row.  
MoveRow(Int32,Int32,Boolean)Moves the specified row from its current index to the specified index, and shifts each row in between and the destination row one row in the direction of the specified row.  
Remarks
If the moveContent option is false then cell spans are invisible If the moveContent option is true then cell spans are moved.
Example
This example moves the row from its current index to the specified index.
fpSpread1.ActiveSheet.MoveRow(0, 2, true);
FpSpread1.ActiveSheet.MoveRow(0, 2, True)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Allowing the User to Move Rows or Columns

 

 


Copyright © GrapeCity, inc. All rights reserved.