Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rafael Mussi on Apr 06, 2008 04:58
open dhtmlx forum
Is there a way to set the selected option in this _addOption command ?


Answer posted by Support on Apr 07, 2008 05:34
There is no way to mark options as selected during adding, but you can do it exactly after adding
    combo.selectOption(ind);
or
    combo.selectOption(combo.getIndexByValue(value));