1. #1
    Sencha User
    Join Date
    May 2012
    Location
    India - Chennai
    Posts
    2
    Vote Rating
    0
    Jessimaa_2011 is on a distinguished road

      0  

    Default Unanswered: Radio listener not working in Google Chrome

    Unanswered: Radio listener not working in Google Chrome


    if click the radio listener unable to hide and show the form field

    Mycode :


    listeners : {
    'check' : function(combo) {
    var SI_fg = Ext.getCmp(con.SI_YES);
    if (SI_fg.checked == true) {

    Ext.getCmp(con.FIRST_PAY_DATE).show();

    } else {
    Ext.getCmp(con.FIRST_PAY_DATE).hide();


    }
    }
    }

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    hi jassimaa_2011,

    Which framework are you used ? if it Extjs 4.1 then, check is not valid event for radio in 4.1.
    You can try change event for example
    Code:
    Listeners:{
        change:function(checkbox, newValue, oldValue, option){      
    
    if (newValue == true) { Ext.getCmp(con.FIRST_PAY_DATE).show(); } else { Ext.getCmp(con.FIRST_PAY_DATE).hide(); }
    } }
    for more information see http://docs.sencha.com/ext-js/4-1/#!...o-event-change
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    May 2012
    Location
    India - Chennai
    Posts
    2
    Vote Rating
    0
    Jessimaa_2011 is on a distinguished road

      0  

    Default


    Quote Originally Posted by sword-it View Post
    hi jassimaa_2011,

    Which framework are you used ? if it Extjs 4.1 then, check is not valid event for radio in 4.1.
    You can try change event for example
    Code:
    Listeners:{
        change:function(checkbox, newValue, oldValue, option){      
    
    if (newValue == true) { Ext.getCmp(con.FIRST_PAY_DATE).show(); } else { Ext.getCmp(con.FIRST_PAY_DATE).hide(); }
    } }
    for more information see http://docs.sencha.com/ext-js/4-1/#!...o-event-change

    i am using extjs3.4 framework , still radio listener not working

Thread Participants: 1

Tags for this Thread