Results 1 to 3 of 3

Thread: [CLOSED] StoreListener.storeAdd(StoreEvent ev) model is null

  1. #1
    Sencha User
    Join Date
    May 2008
    Location
    Germany
    Posts
    59
    Vote Rating
    0
      0  

    Default [CLOSED] StoreListener.storeAdd(StoreEvent ev) model is null

    The StoreEvent does not contain the model which has been added...

  2. #2
    Sencha User darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
      0  

    Default

    The Add event uses the "models" field (documented in javadocs for ListStore).

  3. #3
    Sencha User
    Join Date
    May 2008
    Location
    Germany
    Posts
    59
    Vote Rating
    0
      0  

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •