I’m using Webix Pro, and since it’s apparently impossible to set multicombo
as an editor in a datatable
, I used ActiveContent for that - Code Snippet
However, trying to use the tag editor for multiple tags in more than one (relatively narrow) cell, is broken. I’ve documented 5+ bugs in the snippet, and I’ll reproduce them here:
- Click in any Genre cell and start typing, e.g. “act…”.
- Notice how only one character is visible ,
- The CheckSuggest list isn’t filtered,
- Esc doesn’t close the CheckSuggest popup.
- Backspace won’t delete the existing tag (“drama”). This should be possible, as it is in this sample
- Click in the Genres for “Shakespeaer in Love” and add two more genres.
- Notice how the suggest popup jumps down.
- Click outside of the popup and notice how there’s no way to tell that the cell has more tags than are visible. StackOverflow handles this situation correctly by scrolling to the left the list of tags, so that the last entered tag is always visible, no matter how many tags have been entered. Presumably this is because the tag input area only grows vertically, and in a table cell, there’s no room to grow.
Am I missing something? I’ve tried to adjustRowHeight onChange, but that results in a “Script error”.
As a workaround, how can I set the width of the tags column to the maximum width remaining in the table, similar to fillspace: true
? autowidth: true
resulted in a size of about 20px.
Would it be possible to fix these bugs so that Multicombo works properly in tables? I think the key is to enable tags to be scrolled within one line, instead of growing the input vertically.