Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Table(props?: TableProps, context?: any): Table

Properties

Optional base

base: undefined | Element | Text

Private buildBuildMoreLinkText

buildBuildMoreLinkText: any

Private colPositions

colPositions: any

context

context: ViewContext

debug

debug: boolean

Private getCellEl

getCellEl: any

Private getCellRange

getCellRange: any

handleMoreLinkClick

handleMoreLinkClick: (arg: MoreLinkArg & { fromCol: number; fromRow: number }) => void

Type declaration

    • (arg: MoreLinkArg & { fromCol: number; fromRow: number }): void
    • Parameters

      • arg: MoreLinkArg & { fromCol: number; fromRow: number }

      Returns void

handleMorePopoverClose

handleMorePopoverClose: () => void

Type declaration

    • (): void
    • Returns void

handleRootEl

handleRootEl: (rootEl: null | HTMLElement) => void

Type declaration

largeUnit

largeUnit: any

Private morePopoverRef

morePopoverRef: any

propEquality

propEquality: EqualityFuncs<TableProps>

props

props: RenderableProps<TableProps, any>

Private rootEl

rootEl: any

Private rowPositions

rowPositions: any

Private rowRefs

rowRefs: any

Private splitBgEventSegs

splitBgEventSegs: any

Private splitBusinessHourSegs

splitBusinessHourSegs: any

Private splitDateSelectionSegs

splitDateSelectionSegs: any

Private splitEventDrag

splitEventDrag: any

Private splitEventResize

splitEventResize: any

Private splitFgEventSegs

splitFgEventSegs: any

state

state: TableState

stateEquality

stateEquality: EqualityFuncs<TableState>

uid

uid: string

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

Optional componentDidCatch

componentDidCatch:

Optional componentDidMount

componentDidMount:

Optional componentDidUpdate

componentDidUpdate:

Optional componentWillMount

componentWillMount:

Optional componentWillReceiveProps

componentWillReceiveProps:

Optional componentWillUnmount

componentWillUnmount:

Optional componentWillUpdate

componentWillUpdate:

forceUpdate

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

Optional getChildContext

getChildContext:

Optional getSnapshotBeforeUpdate

getSnapshotBeforeUpdate:

isDateSelectionValid

  • isDateSelectionValid(selection: DateSpan): boolean

isInteractionValid

isValidDateDownEl

isValidSegDownEl

positionToHit

  • positionToHit(leftPosition: any, topPosition: any): { col: number; dateSpan: { allDay: boolean; range: { end: Date; start: Date } }; dayEl: HTMLElement; layer: number; relativeRect: { bottom: number; left: number; right: number; top: number }; row: number } | { col: any; dateSpan: { allDay: boolean; range: { end: Date; start: Date } }; dayEl: HTMLTableCellElement; relativeRect: { bottom: any; left: any; right: any; top: any }; row: any }
  • Parameters

    • leftPosition: any
    • topPosition: any

    Returns { col: number; dateSpan: { allDay: boolean; range: { end: Date; start: Date } }; dayEl: HTMLElement; layer: number; relativeRect: { bottom: number; left: number; right: number; top: number }; row: number } | { col: any; dateSpan: { allDay: boolean; range: { end: Date; start: Date } }; dayEl: HTMLTableCellElement; relativeRect: { bottom: any; left: any; right: any; top: any }; row: any }

prepareHits

  • prepareHits(): void

queryHit

  • queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): null | Hit
  • Parameters

    • positionLeft: number
    • positionTop: number
    • elWidth: number
    • elHeight: number

    Returns null | Hit

render

setState

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

    • K: "morePopoverState"

    Parameters

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

    Returns void

shouldComponentUpdate

  • shouldComponentUpdate(nextProps: TableProps, nextState: TableState): boolean

Optional Static getDerivedStateFromError

getDerivedStateFromError:

Optional Static getDerivedStateFromProps

getDerivedStateFromProps:

Generated using TypeDoc