Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kunal on Jan 27, 2009 02:47
open dhtmlx forum
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.?
Answer posted by Support on Jan 27, 2009 05:10
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