I am trying to create a ui.multiselect component, but with a “table” in the suggest list. Each table cell should be selectable (have an ID) with only one “option” selectable in each row.
Have tried ui.datatable as the view, but have found that datatables have IDs only for rows, but not cells.
Have tried ui.dataview as the view, but have found that it cannot have collSpans.
Have also tried all possible options for datasuggest/gridsuggest components.
And have tried ui.list obviously.
Is the desired functionality achievable and if yes, please at least advise on how to start implementing this.
but have found that datatables have IDs only for rows, but not cells.
It does support select:"cell" mode though, where you can select separate cells.
As far as I can see it is possible to extend the existing UI and create such kind of multiselect. It can be achieved by using public api without modifications in code of Webix itself.
You can take multiselect control as a base and create new UI ( webix.protoUI ) on base of it, by replacing list with datatable where “cell” selection mode is used. After that you will need to adjust setValue and getValue methods of new control.
If you have a support subscription and need some working example, please open a support ticket