Results 1 to 9 of 9

Thread: Combo store not loading via getStore().load method.

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Location
    India
    Posts
    22

    Default Combo store not loading via getStore().load method.

    Hi,
    I have one window and in that have combo box with store bind, whenever I am opening the window and calling store load, Store does not get loaded. However whenever click on combo trigger the store get loaded. Any suggestion?
    I am using ExtJs 6.2 version.

    Thanks & Regards,
    Nitin

  2. #2
    Sencha User
    Join Date
    Jun 2011
    Location
    India
    Posts
    22

    Default

    I tried many things but does not help, I have one common combo store, which get used in two popup window screen. At one screen combo store is loading but on other screen combo store does not get loaded.

    Anyone can help?

  3. #3
    Sencha User
    Join Date
    Dec 2015
    Posts
    116
    Answers
    12

    Default

    Could you provide a fiddle to emulate your scenario?
    A few comments ahead of time, if you want to re-use store on 2 different components, use chained stores.
    Also, if you mark your combo box as query: 'local' it will not attempt to load your store without you explicitly loading it.
    Cheers

  4. #4
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890
    Answers
    41

    Default

    Sounds like you need queryMode: 'local' on your ComboBox

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Location
    India
    Posts
    22

    Default

    Thanks and sorry for late reply. I tried many option but it is not working. And yes I am loading combo store explicitly and also set queryMode: 'local'. Still it is not working.

  6. #6
    Sencha User
    Join Date
    Jun 2011
    Location
    India
    Posts
    22

    Default

    Can some one please help?

  7. #7
    Sencha User
    Join Date
    Dec 2015
    Posts
    116
    Answers
    12

    Default

    Could you provide a (not) working sample using sencha fiddle?
    It will be easier that way for us to figure out what you mean.

  8. #8
    Sencha User
    Join Date
    Jun 2011
    Location
    India
    Posts
    22

    Default

    Here is the sample code https://www.sencha.com/forum/showthr...ad-not-working and it seems to be bug in framework.

  9. #9
    Sencha User
    Join Date
    Dec 2015
    Posts
    116
    Answers
    12

    Default

    that's a good find

Similar Threads

  1. [FIXED] Combo events broken after combo.getStore().load()
    By Lukappa in forum Ext:Bugs
    Replies: 1
    Last Post: 11 Feb 2013, 6:29 AM
  2. set form submit method post in store.load() method
    By nareh tank in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 24 May 2012, 2:19 PM
  3. Replies: 9
    Last Post: 5 Oct 2011, 11:55 AM
  4. Using Ext.getStore() method
    By s1nf3rn0 in forum Ext: Discussion
    Replies: 2
    Last Post: 13 Jun 2011, 1:10 PM

Tags for this Thread

Posting Permissions

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