-
Hi. I have a case where I want to show a custom editor (filterable list of suggestions) for text cells in one column, while keeping the standard editor for text cells in other columns. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
provideEditor: () => p => {
const { isHighlighted, onChange, value } = p;
return (
<TextCellEntry
highlight={isHighlighted}
autoFocus={true}
value={value.data.YOUR_CUSTOM_CELL_DATA_PROP ?? ""}
onChange={e =>
onChange({
...value,
data: {
...value.data,
name: e.target.value,
},
})
}
/>
);
}, Thats pretty much the text-cell editor code. We often do this in our own custom cells. |
Beta Was this translation helpful? Give feedback.
Thats pretty much the text-cell editor code. We often do this in our own custom cells.