Results 1 to 2 of 2

Thread: ComboBox Loader mode local

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    May 2011
    Vote Rating

    Default ComboBox Loader mode local


    Can you please help me to set the mode of the Combobox to 'local'. Its default is set to 'remote'. When a user types in the combobox, it goes to the server to take a new Datastore. I want the data store to be updated at the locally at the client machine.
    I do not see a method exposed to set the Combobox's loader's mode. Can you tell me how can I set mode='local' for the combobox.

    I am new to Ext JS and Ext GWT. I have used comobobox in Ext JS and successfully configured it to load data from the server when the page loads and do not hit the server to fetch the data store again and again while the user is typing.
    I achieved this by combobox property 'mode = 'local' '.

    I want to do the same in Ext GWT. Create a comobobox that runs in mode='local'. I suspect that GWT combobox controls this action of hitting the server for each user interaction again and again or rendering the data locally at the client machine by the same property mode='local'.

    But its default value is set to mode='remote'. And I do not see a method expose like setMode(). Can you please help me to set the combobox's mode to local. I do not want the combobox to go to the server for updating the data store. I want it to be populated at the client end.

    Thanks in advance.


  2. #2
    Sencha User
    Join Date
    Nov 2011
    Vote Rating

    Default Set mode to local

    You can set the config "mode" of the combo box to 'local' ans set the autoLoad of the store as true.It should work then

Similar Threads

  1. Combobox Paging with Local Mode
    By Jagg in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 28 Jun 2010, 11:02 PM
  2. Pagination problem with ComboBox in local mode
    By Suresh in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 7 Apr 2010, 2:44 AM
  3. Refresh combobox data when mode:'local'
    By FlyFoxUK in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 7 Oct 2009, 10:29 AM
  4. Replies: 5
    Last Post: 20 Aug 2007, 8:44 AM

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