Type aliases
CellMetaData
CellMetaData: { offset: number; size: number }
Type declaration
-
offset: number
-
size: number
GridRef
Type declaration
-
container: HTMLDivElement | null
-
focus: () => void
-
-
getCellCoordsFromOffset: (x: number, y: number) => CellInterface
-
-
getScrollPosition: () => ScrollCoords
-
-
isMergedCell: (coords: CellInterface) => boolean
-
-
Parameters
Returns boolean
-
resetAfterIndices: (coords: CellInterface, shouldForceUpdate?: undefined | false | true) => void
-
- (coords: CellInterface, shouldForceUpdate?: undefined | false | true): void
-
Parameters
-
-
Optional shouldForceUpdate: undefined | false | true
Returns void
-
resizeColumns: (indices: number[]) => void
-
- (indices: number[]): void
-
resizeRows: (indices: number[]) => void
-
- (indices: number[]): void
-
scrollTo: (scrollPosition: ScrollCoords) => void
-
-
stage: typeof Stage | null
ItemSizer
ItemSizer: (index: number) => number
Type declaration
-
-
Parameters
Returns number
Optional
Optional<T, K>: Pick<Partial<T>, K> & Omit<T, K>
Type parameters
OptionalScrollCoords
OptionalScrollCoords: { scrollLeft?: undefined | number; scrollTop?: undefined | number }
Type declaration
-
Optional scrollLeft?: undefined | number
-
Optional scrollTop?: undefined | number
RefAttribute
Ref
Attribute: { ref?: React.MutableRefObject<GridRef> }
Type declaration
-
Optional ref?: React.MutableRefObject<GridRef>
ScrollCoords
ScrollCoords: { scrollLeft: number; scrollTop: number }
Type declaration
-
scrollLeft: number
-
scrollTop: number
Grid component using React Konva