- GridCell(props): ReactNode
Parameters
- props: HTMLAttributes<HTMLDivElement> & {
align: GridAlignment;
children?: ReactNode;
className?: string;
colIndex: number;
colSpan?: number;
column: GridStateColDef;
disableDragEvents?: boolean;
isNotVisible: boolean;
onClick?: MouseEventHandler<HTMLDivElement>;
onDoubleClick?: MouseEventHandler<HTMLDivElement>;
onDragEnter?: DragEventHandler<HTMLDivElement>;
onDragOver?: DragEventHandler<HTMLDivElement>;
onFocus?: FocusEventHandler<Element>;
onKeyDown?: KeyboardEventHandler<HTMLDivElement>;
onKeyUp?: KeyboardEventHandler<HTMLDivElement>;
onMouseDown?: MouseEventHandler<HTMLDivElement>;
onMouseEnter?: MouseEventHandler<HTMLDivElement>;
onMouseLeave?: MouseEventHandler<HTMLDivElement>;
onMouseOver?: MouseEventHandler<HTMLDivElement>;
onMouseUp?: MouseEventHandler<HTMLDivElement>;
pinnedOffset?: number;
pinnedPosition: PinnedColumnPosition;
row: GridValidRowModel;
rowId: GridRowId;
rowNode: GridTreeNode;
showLeftBorder: boolean;
showRightBorder: boolean;
style?: CSSProperties;
width: number;
[x: `data-${string}`]: string;
} & RefAttributes<HTMLDivElement>
Returns ReactNode
Properties
Readonly
$$typeof
$$typeof: symbol
Optional
defaultProps
defaultProps?: Partial<GridCellProps> | Partial<HTMLAttributes<HTMLDivElement> & { align: GridAlignment; children?: ReactNode; className?: string; colIndex: number; colSpan?: number; column: GridStateColDef; disableDragEvents?: boolean; isNotVisible: boolean; onClick?: MouseEventHandler<HTMLDivElement>; onDoubleClick?: MouseEventHandler<HTMLDivElement>; onDragEnter?: DragEventHandler<HTMLDivElement>; onDragOver?: DragEventHandler<HTMLDivElement>; onFocus?: FocusEventHandler<Element>; onKeyDown?: KeyboardEventHandler<HTMLDivElement>; onKeyUp?: KeyboardEventHandler<HTMLDivElement>; onMouseDown?: MouseEventHandler<HTMLDivElement>; onMouseEnter?: MouseEventHandler<HTMLDivElement>; onMouseLeave?: MouseEventHandler<HTMLDivElement>; onMouseOver?: MouseEventHandler<HTMLDivElement>; onMouseUp?: MouseEventHandler<HTMLDivElement>; pinnedOffset?: number; pinnedPosition: PinnedColumnPosition; row: GridValidRowModel; rowId: GridRowId; rowNode: GridTreeNode; showLeftBorder: boolean; showRightBorder: boolean; style?: CSSProperties; width: number; [
x:
`data-${string}`]
: string; } & RefAttributes<HTMLDivElement>> Optional
displayName
displayName?: string
Optional
propTypes
propTypes?: WeakValidationMap<GridCellProps> | WeakValidationMap<HTMLAttributes<HTMLDivElement> & { align: GridAlignment; children?: ReactNode; className?: string; colIndex: number; colSpan?: number; column: GridStateColDef; disableDragEvents?: boolean; isNotVisible: boolean; onClick?: MouseEventHandler<HTMLDivElement>; onDoubleClick?: MouseEventHandler<HTMLDivElement>; onDragEnter?: DragEventHandler<HTMLDivElement>; onDragOver?: DragEventHandler<HTMLDivElement>; onFocus?: FocusEventHandler<Element>; onKeyDown?: KeyboardEventHandler<HTMLDivElement>; onKeyUp?: KeyboardEventHandler<HTMLDivElement>; onMouseDown?: MouseEventHandler<HTMLDivElement>; onMouseEnter?: MouseEventHandler<HTMLDivElement>; onMouseLeave?: MouseEventHandler<HTMLDivElement>; onMouseOver?: MouseEventHandler<HTMLDivElement>; onMouseUp?: MouseEventHandler<HTMLDivElement>; pinnedOffset?: number; pinnedPosition: PinnedColumnPosition; row: GridValidRowModel; rowId: GridRowId; rowNode: GridTreeNode; showLeftBorder: boolean; showRightBorder: boolean; style?: CSSProperties; width: number; [
x:
`data-${string}`]
: string; } & RefAttributes<HTMLDivElement>>
Deprecated
Use values for destructuring assignments instead.