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?: 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

Static Optional defaultProps

defaultProps?: any

Static Optional displayName

displayName?: string

Methods

_handleScrollerEl

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

    Returns void

Optional componentDidCatch

  • componentDidCatch(error: any, errorInfo: any): void

componentDidMount

  • componentDidMount(): void

componentDidUpdate

  • componentDidUpdate(): void

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<SimpleScrollGridProps>, nextContext: any): void

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

  • componentWillUpdate(nextProps: Readonly<SimpleScrollGridProps>, nextState: Readonly<SimpleScrollGridState>, nextContext: any): void
  • Parameters

    • nextProps: Readonly<SimpleScrollGridProps>
    • nextState: Readonly<SimpleScrollGridState>
    • nextContext: any

    Returns void

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(): object

Optional getSnapshotBeforeUpdate

  • getSnapshotBeforeUpdate(oldProps: Readonly<SimpleScrollGridProps>, oldState: Readonly<SimpleScrollGridState>): any

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: keyof SimpleScrollGridState

    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

Static Optional getDerivedStateFromError

  • getDerivedStateFromError(error: any): null | object

Static Optional getDerivedStateFromProps

  • getDerivedStateFromProps(props: object, state: object): null | object

Generated using TypeDoc