Editing
interface DataEditorProps {
// ...other props
coercePasteValue?: ((val, cell) => undefined | GridCell);
imageEditorOverride?: ImageEditorType;
onCellEdited?: ((cell, newValue) => void);
onCellsEdited?: ((newValues) => boolean | void);
onDelete?: ((selection) => boolean | GridSelection);
onFillPattern?: ((event) => void);
onFinishedEditing?: ((newValue, movement) => void);
onGroupHeaderRenamed?: ((groupName, newVal) => void);
onPaste?: boolean | ((target, values) => boolean);
onRowAppended?: (() => void | Promise<undefined | number | "bottom" | "top">);
trailingRowOptions?: {
addIcon?: string;
hint?: string;
sticky?: boolean;
targetColumn?: number | GridColumn;
tint?: boolean;
};
validateCell?: ((cell, newValue, prevValue) => boolean | ValidatedGridCell);
// ...other props
}onDelete
imageEditorOverride
onCellEdited
onDeleteRows
onFillPattern
onFinishedEditing
onGroupHeaderRenamed
onPaste
coercePasteValue
trailingRowOptions
validateCell
Last updated