Michi_de
28 Nov 2008, 1:47 AM
Hi,
a comboBox in my application has a Store (box.setStore(store) ).
This store is initialized with a loader ( store = new ListStore<Model>(loader)).
So the data in the store is comin from an rpc call proxy. Its workin just fine.
But when i've a textfield in the left, which adds new data into my database and in the right the combobox with the store (which contain the data out of the database), the data in the store wont be reloaded when i click the "dropdown-arrow".
So i wanted to know: when does the data gets reloaded in my combobox? I've got the feeling, that it sometimes reloads it and sometimes not.
The only place i do .load() on my loader is just once in my initial event. After that it sometimes gets reloaded and sometimes not.
So when it gets reloaded? =)
a comboBox in my application has a Store (box.setStore(store) ).
This store is initialized with a loader ( store = new ListStore<Model>(loader)).
So the data in the store is comin from an rpc call proxy. Its workin just fine.
But when i've a textfield in the left, which adds new data into my database and in the right the combobox with the store (which contain the data out of the database), the data in the store wont be reloaded when i click the "dropdown-arrow".
So i wanted to know: when does the data gets reloaded in my combobox? I've got the feeling, that it sometimes reloads it and sometimes not.
The only place i do .load() on my loader is just once in my initial event. After that it sometimes gets reloaded and sometimes not.
So when it gets reloaded? =)