editorType select Item value of options issue In Grid

Item value of options is not exists when grid’s editor type is select

2 Likes

Read this

Grid combobox have only text ​​and no values.

 <select id="combobox" name="combobox">
     <option value="A">A Text</option>
     <option value="B">B Text</option>
     <option value="C">C Text</option>
 </select>

dhtmlx 6

 <select id="combobox" name="combobox">
     <option>A Text</option>
     <option>B Text</option>
     <option>C Text</option>
 </select>
1 Like

currently the select editor in the dhtmlxGrid contain only the text property.

Is there any intention of changing this? Or is there a simple way to work around this? I use select editors to hide numerical values with text representations so the users don’t have to know what the numbers mean.

Currently I’m thinking about adding an additional field to my data that is just the text, and checking the changes to the fields through the “Change” event of the data to keep the two fields in sync. But that’s really not an ideal route.

Your suggestion was sent to the dev team nad will be observed for the future updates.

@sematik can you please confirm if the feature to add values to select options has been added to the roadmap?

I can confirm that it is registered as one the frequent feature requests. Cannot give any tip about the roadmap for now, but I’ll try to inform about any progress here, when it will be available.

Do you have a public view of the roadmap and a method for users to upvote feature requests? It looks like dhtmlx used to do this in Trello https://trello.com/b/lASSdobW/dhtmlx-suite-roadmap

Currently we have no public roadmap for the dhtmlxSuite.

I have same problem.
I need to display multilingual text select in grid to users all over the world.

For example,
[{value: “Y”, text: “Yes”}, {value: “N”, text:“No”}] in english,
[{value: “Y”, text: “예”}, {value: “N”, text:“아니오”}] in korean,
[{value: “Y”, text: “是的”}, {value: “N”, text:“不”}] in chinese, and other languages.

I have to insert “Y” to database tables, not “Yes”, “예” or “是的”.
With only text, I cannot insert value into database tables.

It’s VERY serious and big trouble to me.

Can you tell me the time or version when it will be fixed?
Please fix it as soon as possible.

We’re planning to add that featrure in the dhtmlxSuite 7.2
I’ll inform you here about the progress of this issue.

2 Likes

@sematik great to hear! Do you have an rough release date?
Do you know if the mutliselect editor will be added for the grid combobox?

Unfortunaetly curently thуre is no timeline for the dhtmlxSuite 7.2 update.
Multiselect editor most probably won’t be added in the 7.2 update, but we’re planning to add that feture in the future.

Hello everyone.

We have finally added the possibility to define the ids-values for the options in the combobox and select editors of the dhx.Grid.
Here are some simple examples of such initialization:
https://snippet.dhtmlx.com/gz36ai4k
https://snippet.dhtmlx.com/0in2el2t
Please, try to download the latest available dhx.grid build (currently it is 7.3) to get this functionality.