RevGrid - v0.9.3
    Preparing search index...

    This object models selection of "cells" within an abstract single-dimensional matrix.

    Disjoint selections can be built with calls to the following methods: add(exclusiveStart, stop) - Add a range to the matrix.

    clear() the matrix

    Internally, the selection is run-length-encoded. It is therefore a "sparse" matrix with undefined bounds. A single data property called selection is an array that contains all the "ranges" of selected cells albeit in no particular order. This property should not normally need to be accessed directly.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    • Parameters

      • exclusiveStart: number
      • length: number

      Returns boolean

    • Parameters

      • start: number
      • count: number

      Returns boolean

    • Parameters

      • start: number
      • count: number

      Returns boolean

    • Parameters

      • oldIndex: number
      • newIndex: number
      • count: number

      Returns boolean

    • Returns void

    • Parameters

      • start: number
      • length: number

      Returns boolean

    • Returns number

    • Returns number[]

    • Returns boolean

    • Returns boolean

    • Parameters

      • index: number

      Returns boolean

    • Returns boolean