Results 1 to 4 of 4

Thread: How to get a SelectField value

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    31

    Default How to get a SelectField value

    Hi guys,

    I have a problem with my application. I have a SelectField with several options. Those options are saved inside a Ext.data.JsonStore. So when I choose the option from the selectfield, i'd like to access the item and retrieve one of his attributes to make a comparison. So, my question is how do i access the item. I've tried already to use a record without success. I have another record early on the application so when i call the record it shows me my other data and not the one i want. I'm a newbie here so forgive me if i'm making some wrong assumptions.

  2. #2
    Sencha User
    Join Date
    Jul 2010
    Location
    Switzerland
    Posts
    78

    Default

    listen for the change event on your select field:
    http://dev.sencha.com/deploy/touch/d...xt.form.Select

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    31

    Default

    it works thank you so much

  4. #4
    Sencha User
    Join Date
    Jul 2010
    Location
    Switzerland
    Posts
    78

    Default

    glad I could help

Posting Permissions

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