1. #1
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default combocox value change select not fired

    combocox value change select not fired


    Hi guys

    i change the value of my combobox after its outputed and it already has a listener which works when you change teh value yourself, but it dosent fire when i change the value dynamicaly.

    any ideas

    thanks guys

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    3
    tryanDLS is on a distinguished road

      0  

    Default


    setValue does not fire the change event - it is only fired when the field loses focus via onBlur. select is only fired when the UI is clicked to select an entry.

  3. #3
    Sencha User nadeemshafi9's Avatar
    Join Date
    Mar 2009
    Location
    Bucks, Hearts - UK
    Posts
    192
    Vote Rating
    1
    nadeemshafi9 is on a distinguished road

      0  

    Default


    thanks for teh response, yes so thats cleared up for me, i mamaged to do the job by setting a variable to 0 and saying if teh value of teh checkbox hidden is different from 0 then do the stuff, ii need to reconfigure a form on page load and it has a dynamicaly built structure based on the first select box, so when i loaded the page i set the value of teh checkbox but the event that usualy builds the form didnt fire so i what i done is check against a dummy 0 var wich will always amount to true.

Thread Participants: 1