Combo Box in grid - don't show item if not in list

I am using a grid cell type of “coro”… so the user cannot be able to type in their own value but must select the item from the drop down list.

The problem is that if the current cell contents is not in the list, that item is also shown at the bottom of the list…

Example:

The XML from the server returns options
“Gold”
“Silver”
“Bronze”

when we render the cell, the value may be something that is not in the list, like “Plastic”

So, the drop down shows:
“Gold”
“Silver”
“Bronze”
“Plastic” --> With this item selected

Is there a way to suppress this behavior so that only the valid options are shown despite the current value of the cell?

PS - We do it this way intentionally because we want the user to be forced to select an item. So the “Plastic” value is really something like {type} which doesn’t validate, so it has the “red” indicator. The user then must choose a valid value for “{type}”, but when they drop down the combo the variable placeholder ("{type}") is visible.

“coro” excell type works as designed. You can implement any custom type you need docs.dhtmlx.com/doku.php?id=dhtm … creation&s[]=custom&s[]=excell