PDA

View Full Version : combobox: need a selected element of an store



ballibum
18 Jan 2010, 5:23 AM
hello forum,
how is it possible to select a element of a datastore? i don#t need a empty text, i want to have select the first element of my store.
thanks for helping me

daanlib
18 Jan 2010, 5:31 AM
configure the store of the combobox with a listener for the 'load' event and use it to select the first item in you combobox using combo.select(0)