Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by benedict on Aug 26, 2008 17:44
open dhtmlx forum
Selecting option in excell type coro

Hi!

How can I manually select an option in a cell of type coro? The setValue function of the cell works but the value is also added as a new option thus, having double options in the combobox.

I hope you could help with this. Thank you!
Answer posted by Support on Aug 27, 2008 01:58
If you are using setValue with the same value as existing one - it will result in selection of existing option. New one, will be added only if you are using not existing value. 
Be sure that
- you are using value, not label, as parameter of setValue
- the value is exactly the same as existing one ( whitespace and newlines in configuration XML - are matter )