[Dojo-interest] Basic question: How to assign first option value to dojoStore backed FilteringSelect?

rastrano rastrano at gmail.com
Tue Jun 1 11:18:50 EDT 2010


How to assign a default selected value to dojoStore backed FilteringSelect?

when using declarative html select markup is easy: by default first option
is selected (if you not use the "selected" attribute in any option) but when
using a programmatically declared FilteringSelect, backed by a dojo Store
how to select automatically the first option in the select box?

i need a sort of .setValueByItemIndex(0);

Regards,
Stefano
-- 
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Basic-question-How-to-assign-first-option-value-to-dojoStore-backed-FilteringSelect-tp861846p861846.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.


More information about the Dojo-interest mailing list