Home > @activeviam/activeui-sdk > CellEditorImplementationProperties
CellEditorImplementationProperties interface
A cell editor that can be added in a table.
Signature:
export interface CellEditorImplementationProperties
Properties
Property | Type | Description |
---|---|---|
isEditable | (rowIndex: number, columnKey: string, data: Table, dataSource: DataSource, columnProps: TabularColumnProps) => boolean | Called on every cell marked as 'edited' to know if the editor should be rendered or not. |
renderEditor | (a: { colKey: string; columnProps: TabularColumnProps; rowIdx: number; }) => React.ReactElement<any> | Called on every cell for which isEditable has returned true. |