Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tonyw on Oct 31, 2008 00:17
open dhtmlx forum
dhtmlxCombo

Is it possible to emulate the HTML TAG <optgroup> within a read only combo list?
Is it possible to disable individual options within a list?
Tks TonyW
Answer posted by Support on Oct 31, 2008 03:46
>>Is it possible to emulate the HTML TAG <optgroup> within a read only combo list?
Unfortunately it not possible.
>>Is it possible to disable individual options within a list?
There is no native support for such feature, but you can use any HTML inside option's label, so you can set such value, that it will look as disabled, and you can add code to onChange event which will ignore value if it a "disabled" item.