Hi,
I have a dhtmlx grid in which a dhtmlx combo is one of the columns.
I can get the value of other columns by a CellByIndex method.
How can i get the selected value for the dhtmlxcombo?
Hi,
the same way:
var value = grid.cells(rowId,cellIndex).getValue();
If you need to get the corresponding option text, you need to use combo API:
var value = grid.cells(rowId,cellIndex).getValue();
var combo = grid.getColumnCombo(index);
var text = (combo.getOptionByLabel(value)?combo.getOptionByLabel(value).text:value);