DHtmlx Grid Combo

Hi,



I am using combo as column type in dhtmlx grid.

I want to make the combo column readonly

so I am using this API

combo.disable(true);



But it gives javascript error

parentNode is not null or an object.



How do I resolve this error.?

Are you using “combo” or “co” column type?
There are two types of combo in ghtmlxgrid
combo - dhtmlxCombo in grid
co - simple combobox , which is part of grid component.

If you are using “co” column type , it can’t be switched to disabled state in same way as dhtmlxcombo, but you can just use “coro” column type, which is readonly-combobox