Results 1 to 5 of 5

Thread: combobox setValue/setRawValue dont change highlighted value when combobox expanded

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default combobox setValue/setRawValue dont change highlighted value when combobox expanded

    Using the combobox.setValue() and .setRawValue() methods on a combobox that is already loaded successfully changes the value displayed in the combobox itself

    however.. if the drop down list is expanded (drop-down list is clicked to show all values available for selection) the value that is actually highlighted is the value at the top of the list, not the value that has just been set.
    This is different behaviour to if you were to change a combobox value selection manually instead of through the javascript methods

    what is the correct method of repositioning which value is actually highlighted?

    thanks in advance - it would be really helpful to know this!

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

    Default

    What Ext JS 3.x.x version are you using?
    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.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default

    3.4.0

  4. #4
    Sencha User
    Join Date
    Jun 2016
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Was this issue ever resolved? I'm having a similar issue in ExtJS 6

  5. #5
    Sencha User
    Join Date
    Jun 2016
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Actually, this appears to be due to a plugin I'm using...nevermind.

Posting Permissions

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