Editor component for cell ?
revskill10 opened this issue · 1 comments
revskill10 commented
So we have renderer, filter, comparator, what's missing here is the editor.
Do you have plan to implement it ?
energydrink9 commented
Hi @revskill10
You don't really need the editor, because you can return any JSX, containing textboxes, dropdowns, buttons etcetera in the renderer of the columns. You can switch between the view / edit mode at the hover or at the click of an edit button, by saving an edit flag per each row.
Through the change event handlers of the controls you can update the global state and update the data you've passed to the grid.