You can remove one or more rows or columns from a sheet and you can allow the end user to remove rows or prohibit them from removing rows.
If you simply want to hide the row or column from the end user, but not remove it from the sheet, refer to Showing or Hiding Rows or Columns.
This example code removes two rows.
C# |
Copy Code
|
---|---|
FpSpread1.Sheets[0].RemoveRows(6,2); |
VB |
Copy Code
|
---|---|
FpSpread1.Sheets(0).RemoveRows(6,2) |
This example code removes two rows.
C# |
Copy Code
|
---|---|
FarPoint.Web.Spread.SheetView Sheet0; Sheet0 = FpSpread1.Sheets[0]; Sheet0.RemoveRows(6,2); |
VB |
Copy Code
|
---|---|
Dim Sheet0 As FarPoint.Web.Spread.SheetView Sheet0 = FpSpread1.Sheets(0) Sheet0.RemoveRows(6, 2) |