@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
31 lines (30 loc) • 1.1 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { DialogProps } from '@progress/kendo-react-dialogs';
import { GridColumnProps } from './GridColumnProps.js';
/**
* Represents the props of the KendoReact Grid Edit Dialog component.
*/
export type GridEditDialogProps = DialogProps & {
/**
* The columns of the Grid.
*/
columns?: GridColumnProps[];
/**
* The data item that is currently being edited.
*/
dataItem?: any;
/**
* The method that is called when the user submits the edit form.
*/
onSubmit?: (newDataItem: any, event?: React.SyntheticEvent<any>) => void;
/**
* The method that is called when the user cancels the edit form.
*/
onCancel?: (event?: React.SyntheticEvent<any>) => void;
};