GridCells.DeleteRows
Contents
[
Hide
]DeleteRows(int, int)
Deletes several rows.
public bool DeleteRows(int rowIndex, int totalRows)
Parameter | Type | Description |
---|---|---|
rowIndex | Int32 | The first row index to be deleted. |
totalRows | Int32 | Number of rows to be deleted. |
Remarks
If the deleted range contains the top part(not whole) of the table(ListObject), the ranged could not be deleted and nothing will be done.It works as MS Excel.
See Also
- class GridCells
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop
DeleteRows(int, int, bool)
Deletes multiple rows in the worksheet.
public bool DeleteRows(int rowIndex, int totalRows, bool updateReference)
Parameter | Type | Description |
---|---|---|
rowIndex | Int32 | Row index. |
totalRows | Int32 | Number of rows to be deleted. |
updateReference | Boolean | Indicates if update references in other worksheets. |
See Also
- class GridCells
- namespace Aspose.Cells.GridDesktop.Data
- assembly Aspose.Cells.GridDesktop