Results 1 to 4 of 4

Thread: Combobox in window form panel executes store load when window gets close/destroyed

  1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    52
    Answers
    1

    Default Combobox in window form panel executes store load when window gets close/destroyed

    Hi,


    I have a combobox inside a form panel, inside a window. The window has a close button which when pressed, destroys the window.
    Weird behavior is that the store thats being used by the combobox is being called/load when the window is destroyed.
    Is this normal behavior? The store shouldnt be called to load data since the window is being destroyed.

    thanks

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    I have sent your question to a team member that will be able to help. Thank you for your patience.

  3. #3
    Sencha User
    Join Date
    Jun 2017
    Posts
    25
    Answers
    1

    Default

    Regarding the close button - is this the built-in 'x' for Ext.windows, or a button that you've attached a handler that closes the window? If a handler, what is the code for the handler?

    What if you set queryMode: 'local' on the combobox?

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    19

    Default Same here

    I see this behavior as well in 6.7 modern. A modern dialog with many comboboxes, stores set to "autoLoad: false" and "queryMode: local" is not an option for this implementation. Close the dialog, all the stores load. Not good.

    Any fix or work around out there?

Similar Threads

  1. Replies: 4
    Last Post: 13 Sep 2017, 10:20 AM
  2. Replies: 3
    Last Post: 27 Jul 2011, 12:33 PM
  3. Window hide then close vs window close... Problems re-opening the window.
    By zhegwood in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 11 Jan 2010, 5:42 PM
  4. is closable Ext.Window destroyed from dom on close?
    By andynuss in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 22 Oct 2009, 3:48 AM
  5. Replies: 7
    Last Post: 11 Aug 2009, 9:56 PM

Posting Permissions

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