PDA

View Full Version : [CLOSED] StoreListener.storeAdd(StoreEvent ev) model is null



LukasP
15 Jul 2008, 8:48 AM
The StoreEvent does not contain the model which has been added...

darrellmeyer
16 Jul 2008, 9:56 AM
The Add event uses the "models" field (documented in javadocs for ListStore).

LukasP
16 Jul 2008, 1:04 PM
Sorry, I forgot to mention: I was using a TreeStore.
Therefore, I just learned, i had to cast the StoreEvent to TreeStoreEvent to get the added model.

Thanks anyway, Darrell