How can I implement a tag input cell type? Something like: https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/ (I am not saying I need to use this library, it’s just an example of tags input.)
I know it’s possible to create custom renderers and editors, but I couldn’t find any example close to the tags input kind of cell and there’s a lot of details here.
Making a renderer that renders the tags is easy. How to make the editor is a lot trickier.
Perhaps I can extend the
AutocompleteEditor? I would need it to auto-complete for a new tag value, instead of the entire tags list (ex if a cell has “red,green” and I type “or” I expect to see a suggestion for “orange”, not “red,green,orange”). I would also need to override handling for backspace.
Do I need to create an editor from scratch? This way I could use a library like bootstap-tagsinput, but it seems that even for a simple text editor there is a lot of handling, I am not sure how much of that I’d have to re-create.
Any tips or examples?