Results 1 to 4 of 4

Thread: Combobox Select Event

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    21
    Vote Rating
    0
      0  

    Default Combobox Select Event

    it seems select event for combobox in 4.0.1 is diferent from 3.3.3

    the returned value is "Object Object", but what object? and how to get the value from field that i picked?

    edit :
    onselect event passed two parameter "thisform" and "value"
    using consloe.log, i could see "value" alternate class name is Ext.data.Records, but there are no documentation for this class
    ?????

  2. #2
    Sencha User
    Join Date
    May 2011
    Posts
    39
    Vote Rating
    0
      0  

    Default

    Could you post the code for your combobox, how you load your store, and your listener for the event? It'd help us debug with you

  3. #3
    Sencha User
    Join Date
    May 2010
    Posts
    21
    Vote Rating
    0
      0  

    Default

    Could you post the code for your combobox, how you load your store, and your listener for the event? It'd help us debug with you
    Sure... here,
    http://www.mediafire.com/download.php?f2dlwpk8a88z776

    4mb zipped file, put in localhost, there only one combobox there, oh in mainLayout in controller folder

    see in controller part and you will see

    Code:
    'centerRegion combobox': {
        change: this.selectDisplayData
    },
    as you can see change it to select event

  4. #4
    Sencha User
    Join Date
    Feb 2008
    Posts
    33
    Vote Rating
    0
      0  

    Default

    Yes, it's very different than ext.3.x
    However, things got somehow easier because you can now use combo.getValue() and it returns the value of the valueField property you set (not displayField).

Posting Permissions

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