Class BasicSelectionModel

A basic selection model implementation.

Notes

This selection model is sufficient for most use cases where structural knowledge of the data source is not required.

Hierarchy (view full)

Constructors

Properties

_cursorColumn: number = -1
_cursorRectIndex: number = -1
_cursorRow: number = -1
_selections: Selection[] = []
dataModel: DataModel

The data model associated with the selection model.

Accessors

Methods

  • Test whether any selection intersects a cell.

    Parameters

    • row: number

      The row index of interest.

    • column: number

      The column index of interest.

    Returns boolean

    Whether any selection intersects the cell.

    Notes

    This method may be reimplemented in a subclass.