Multiselect with Gridsuggest

Hi, I would like to incorporate multiselect with gridsuggest, but I found the checkbox would be missing if I change the option to the json object. Is there any workaround?

Hello,

Yep, now there isn’t any ready-made solution for it. But you can provide a template for the Datatable inside Gridsuggest to make it paint the checkbox in the necessary (leading) column.

You will also have to catch clicks on these checkboxes to change the selection state.

Hi @Helga , I tried this: https://webix.com/snippet/d2a36208

I think I should be able to get the value selected, but how could I show the value on the combo box as it will only show the last one? Or is there any alternative to set the value?

Please check - https://webix.com/snippet/b6fe1845

You can use multicombo and checksuggest as a base

@maksim I’m not sure if it is a new 7.2.x bug but clicking on the actual checkbox in the https://webix.com/snippet/b6fe1845 snippet doesn’t work as expected but clicking on the side of the checkbox works

Hello @PorkLip,
It’s normal behavior. In this example, the value ​​is set by row selection. The same behavior can be observed if you addselect:true property to the datatable (https://snippet.webix.com/d92flt4j)
As a solution, you can use onCheck event and add custom logic to set the value to the multicombo:
https://snippet.webix.com/t6lpwgfq