UNPKG

@progress/kendo-react-grid

Version:

React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package

68 lines (67 loc) 1.9 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import * as React from 'react'; /** * Props for the GridStackedCell component. * * @hidden */ export interface GridStackedCellProps { /** * The column title to display as the header label. */ header?: string; /** * The content to display (field value or custom cell content). */ children: React.ReactNode; /** * Indicates whether the cell is in edit mode. */ isInEdit?: boolean; /** * The edit mode of the grid ('incell', 'inline', or 'dialog'). */ editMode?: 'incell' | 'inline' | 'dialog'; /** * Additional CSS class name. */ className?: string; /** * The column index for navigation purposes. */ columnIndex?: number; /** * The ID for keyboard navigation. */ id?: string; /** * Additional style to apply to the cell. */ style?: React.CSSProperties; /** * Click handler. */ onClick?: (event: React.MouseEvent<HTMLElement>) => void; /** * Keyboard event handler. */ onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void; /** * External ref to be merged with internal ref. */ cellRef?: React.Ref<HTMLDivElement>; } /** * Memoized version of GridStackedCell to optimize rendering performance. * Only re-renders when props that affect the cell's appearance or behavior change. */ /** * @hidden */ export declare const GridStackedCell: React.MemoExoticComponent<(props: GridStackedCellProps) => React.JSX.Element>;