Function range

  • computes the visible range

    Parameters

    • scrollTop: number

      top scrolling

    • clientHeight: number

      visible height

    • rowHeight: number

      height of a row by default

    • heightExceptions: IRowHeightException[]

      exceptions of this default height

    • numberOfRows: number

      the number of rows

    Returns IVisibleRange

    the computed visible range