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

Stefano Gargiulo rastrano at gmail.com
Tue Jun 1 11:55:59 EDT 2010

the point is that i don't know my items IDs: they are backed by a database
auto increment column. so how can i select "first" item?

2010/6/1 rastrano <rastrano at gmail.com>

> 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.
> _______________________________________________
> FAQ: http://dojotoolkit.org/support/faq
> Book: http://docs.dojocampus.org
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20100601/7eb1119b/attachment.htm 

More information about the Dojo-interest mailing list