Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseComponent<SimpleScrollGridProps, SimpleScrollGridState>
    • SimpleScrollGrid

Index

Constructors

constructor

  • new SimpleScrollGrid(props?: SimpleScrollGridProps, context?: any): SimpleScrollGrid

Properties

Optional base

base: undefined | Element | Text

context

context: ViewContext

debug

debug: boolean

handleSizing

handleSizing: () => void

Type declaration

    • (): void
    • Returns void

processCols

processCols: (a: any) => any

Type declaration

    • (a: any): any
    • Parameters

      • a: any

      Returns any

propEquality

propEquality: EqualityFuncs<SimpleScrollGridProps>

props

props: RenderableProps<SimpleScrollGridProps, any>

renderMicroColGroup

renderMicroColGroup: (cols: ColProps[], shrinkWidth?: number) => VNode

Type declaration

scrollerElRefs

scrollerElRefs: RefMap<HTMLElement>

scrollerRefs

scrollerRefs: RefMap<Scroller>

state

state: SimpleScrollGridState

stateEquality

stateEquality: EqualityFuncs<SimpleScrollGridState>

Static addPropsEquality

addPropsEquality: (propEquality: any) => void

Type declaration

    • (propEquality: any): void
    • Parameters

      • propEquality: any

      Returns void

Static addStateEquality

addStateEquality: (stateEquality: any) => void

Type declaration

    • (stateEquality: any): void
    • Parameters

      • stateEquality: any

      Returns void

Static contextType

contextType: any

Optional Static defaultProps

defaultProps: any

Optional Static displayName

displayName: undefined | string

Methods

_handleScrollerEl

  • _handleScrollerEl(scrollerEl: null | HTMLElement, key: string): void
  • Parameters

    Returns void

Optional componentDidCatch

componentDidCatch:

componentDidMount

  • componentDidMount(): void
  • Returns void

componentDidUpdate

  • componentDidUpdate(): void
  • Returns void

Optional componentWillMount

componentWillMount:

Optional componentWillReceiveProps

componentWillReceiveProps:

componentWillUnmount

  • componentWillUnmount(): void
  • Returns void

Optional componentWillUpdate

componentWillUpdate:

computeScrollerDims

  • computeScrollerDims(): { forceYScrollbars: boolean; scrollerClientHeights: {}; scrollerClientWidths: {} }
  • Returns { forceYScrollbars: boolean; scrollerClientHeights: {}; scrollerClientWidths: {} }

    • forceYScrollbars: boolean
    • scrollerClientHeights: {}
      • [index: string]: number
    • scrollerClientWidths: {}
      • [index: string]: number

computeShrinkWidth

  • computeShrinkWidth(): number
  • Returns number

forceUpdate

  • forceUpdate(callback?: () => void): void

Optional getChildContext

getChildContext:

Optional getSnapshotBeforeUpdate

getSnapshotBeforeUpdate:

render

renderChunkTd

renderSection

setState

  • setState<K>(state: null | ((prevState: Readonly<SimpleScrollGridState>, props: Readonly<SimpleScrollGridProps>) => null | Pick<SimpleScrollGridState, K> | Partial<SimpleScrollGridState>) | Pick<SimpleScrollGridState, K> | Partial<SimpleScrollGridState>, callback?: () => void): void
  • Type parameters

    • K: "shrinkWidth" | "forceYScrollbars" | "scrollerClientWidths" | "scrollerClientHeights"

    Parameters

    • state: null | ((prevState: Readonly<SimpleScrollGridState>, props: Readonly<SimpleScrollGridProps>) => null | Pick<SimpleScrollGridState, K> | Partial<SimpleScrollGridState>) | Pick<SimpleScrollGridState, K> | Partial<SimpleScrollGridState>
    • Optional callback: () => void
        • (): void
        • Returns void

    Returns void

shouldComponentUpdate

  • shouldComponentUpdate(nextProps: SimpleScrollGridProps, nextState: SimpleScrollGridState): boolean

Optional Static getDerivedStateFromError

getDerivedStateFromError:

Optional Static getDerivedStateFromProps

getDerivedStateFromProps:

Generated using TypeDoc