SpreadJS 13
GC.Spread.Sheets.Tables Namespace / Table type / deleteRows Method
The index of the first row to delete, based on table index.
The number of rows to delete.
In This Topic
    deleteRows Method
    In This Topic
    Deletes the rows in this table at the specified table row index.
    Syntax
    var instance = new GC.Spread.Sheets.Tables.Table(name,
                                                    row,
                                                    col,
                                                    rowCount,
                                                    colCount,
                                                    style,
                                                    options,
                                                    options.showHeader,
                                                    options.showFooter,
                                                    options.useFooterDropDownList,
                                                    options.showResizeHandle);
    instance.deleteRows(row, count);
    function deleteRows( 
       row : number,
       count : number
    ) : void;

    Parameters

    row
    The index of the first row to delete, based on table index.
    count
    The number of rows to delete.
    Example
    var table = activeSheet.tables.add("table1", 1, 1, 10, 5, GC.Spread.Sheets.Tables.TableTheme.medium2);
    table.deleteRows(3, 1);
    See Also

    Reference

    Table type