Type alias CellsChangedArgs

CellsChangedArgs: {
    column: number;
    columnSpan: number;
    region: CellRegion;
    row: number;
    rowSpan: number;
    type: "cells-changed";
}

An arguments object for the changed signal.

Notes

Data models should emit the changed signal with this args object type when cells are changed in-place.

Type declaration

  • Readonly column: number

    The column index of the first modified cell.

  • Readonly columnSpan: number

    The number of columns in the modified cell range.

  • Readonly region: CellRegion

    The region which contains the modified cells.

  • Readonly row: number

    The row index of the first modified cell.

  • Readonly rowSpan: number

    The number of rows in the modified cell range.

  • Readonly type: "cells-changed"

    The discriminated type of the args object.