Grid cell EditorType key-value mapping

I have a grid where one of the columns is editable and the user should be able to select multiple values from a drop down menu.

I read the documentations and checked multiple examples with editorType: "multiselect" and options: [].
However i didnt find a way to implement a key value mapping similar to the combo box which was a part of dhtmlx5 suite.

Any example how i can implement this very basic thing?

Here are some examples of the id-value usage in the combobox and the select editors of the dhx.Grid:

This doesn’t work with 7.2.5

Is it recently implemented?

Yes, it was added in the 7.3 update.

If you have multiselect and you dont selected anything from the drop down the API throws error:

suite.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'id')
    at suite.js:13:76896
    at Array.find (<anonymous>)
    at suite.js:13:76870
    at (<anonymous>)
    at suite.js:13:76811
    at (<anonymous>)
    at suite.js:13:76484
    at (<anonymous>)
    at Object.e.getCells (suite.js:13:76182)
    at P (suite.js:13:149531)
    at Object.e.proRender (suite.js:13:155226)
    at qt.render (suite.js:22:138680)
    at qt.Jt [as _redraw] (suite.js:22:13980)
    at qt.redraw (suite.js:22:13034)
    at qt.<anonymous> (suite.js:22:12384)
    at o (suite.js:22:968)

The error may appear even if u have single select. Havent tried yet.

@ sematik Now i checked the examples. The API throws error if u don’t select a value from the dropdown.

Could you please, provide a complete demo, where the problem could be reconstructed.

You can check the is the example you posted earlier in this thread. Currently it is a combobox and it doesnt allow u to deselect the preselected value which is a strange behavior?!??!?!

But If you change the combobox with multiselect and then try to remove the selection from the cell it will throw an error.

Here you can check locally

Thank you for your clarification. The problem is confirmed. We’ll try to fix it in the future udpates.

Hello Nikolai.

We have fixed your reported problem in the latest dhx.Suite update (v.7.3.1). Now the multiselection works well in case of deselecting all the options.
You can check it in your original snippet.