Results 1 to 2 of 2

Thread: Ext.field.Select: Refreshing the store on every click event

  1. #1
    Sencha User nak1's Avatar
    Join Date
    Jan 2008
    Posts
    303
    Answers
    2
    Vote Rating
    1
      0  

    Default Unanswered: Ext.field.Select: Refreshing the store on every click event

    In the combo box there was process you could put into place which would refresh the store everytime the user clicked the selection:

    Code:
    'beforequery': function(qe){
    						delete qe.combo.lastQuery;
    					},
    I was wondering if there was a similar process for the Ext.field.Select?
    No longer a Newbie

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,336
    Answers
    3885
    Vote Rating
    1296
      0  

    Default

    There is no event that fires when the picker or list shows. You can add one hooking into the showPicker method and firing your own in an override.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

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