1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Russia
    Posts
    30
    Vote Rating
    0
    vasily_87 is on a distinguished road

      0  

    Default Radiofield manual check

    Radiofield manual check


    Hi.
    I'd like to handle check radiofield by user and then check other radiofields autjmatically. If I use event 'change' then all radiofields will be handled. Is there event fires when user only clicks radiofield?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,190
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    As the first argument of the change event, you get the field so you should just be able to check a reference against it.
    http://docs.sencha.com/ext-js/4-0/#!...o-event-change
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Russia
    Posts
    30
    Vote Rating
    0
    vasily_87 is on a distinguished road

      0  

    Default


    If I change the field value automatically this event fires, right? But it is not what I need. I need to handle user click but there is no 'click' event in radiofield component.

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,190
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    You could manually subscribe to click of the "el" that the radio aggregates.
    Aaron Conran
    @aconran
    Sencha Architect Development Team