1. #1
    Ext User
    Join Date
    Oct 2010
    Posts
    31
    Vote Rating
    0
    V Srinivasan is on a distinguished road

      0  

    Default Problem With Radiogroups

    Problem With Radiogroups


    I have 2 radio groups.Based on the click on a radio button in the first radiogroup,second radiogroup appears.The problem is when i click a button in the second radiogroup,the click i made in the first radiogroup is getting switched to the second radiogroup


    The code is below

    {

    style:
    'padding-top:15px;',
    xtype:
    'fieldset',
    id:
    'temp2',
    autoHeight:
    true,
    title:
    'Use Details',
    items:[{ id:
    'temp1', xtype: 'radiogroup',columns: 1,fieldLabel:'Use Type',

    items: [
    { boxLabel:
    'Input', name: 'rb-auto', inputValue: 1,checked:true,listeners: {
    'check': function(r, c) {
    if(c) {
    Ext.getCmp(
    'id4').show();
    Ext.getCmp(
    'id5').hide();
    Ext.getCmp(
    'id6').hide();

    }
    }
    }},
    {boxLabel:
    'Question', name: 'rb-auto', inputValue: 2,listeners: {
    'check': function(r, c) {
    if(c) {
    Ext.getCmp(
    'id4').hide();
    Ext.getCmp(
    'id5').show();
    Ext.getCmp(
    'id6').hide();

    }
    }
    }},
    {boxLabel:
    'Solution', name: 'rb-auto', inputValue: 3, listeners: {
    'check': function(r, c) {
    if(c) {
    Ext.getCmp(
    'id4').hide();
    Ext.getCmp(
    'id5').hide();
    Ext.getCmp(
    'id6').show();

    }
    }
    }}



    ]}, {


    id:
    'id4',

    xtype:
    'textfield',
    fieldLabel:
    'Applicable At',
    value:
    'All Cases',
    disabled:
    true

    }, {
    hidden:
    true,
    id:
    'id5',

    xtype:
    'textfield',
    fieldLabel:
    'Applicable At',
    value:
    'Specific Cases',
    disabled:
    true

    } , {hidden:
    true,
    id:
    'id6',
    xtype:
    'radiogroup',fieldLabel:'Applicable At',columns: 1,

    items: [
    { boxLabel:
    'All Cases', name: 'rb-auto', inputValue: 1},
    {boxLabel:
    'Specific Cases', name: 'rb-auto', inputValue: 2, checked: true}


    ]

    }
    ]







    }

  2. #2
    Ext User
    Join Date
    Oct 2010
    Posts
    31
    Vote Rating
    0
    V Srinivasan is on a distinguished road

      0  

    Default


    I changed the name of second radiogroup and its working now

Similar Threads

  1. How to add radiogroups to the toolbar (tbar)
    By Tremor in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 25 May 2009, 10:42 PM
  2. [FIXED][1.2.2] RadioGroups previously grouped by name
    By navygwtsfc in forum Ext GWT: Bugs (1.x)
    Replies: 1
    Last Post: 4 Feb 2009, 8:51 AM
  3. [2.2][CLOSED] Checkbox/radiogroups in FF3
    By mankz in forum Ext 2.x: Bugs
    Replies: 5
    Last Post: 21 Aug 2008, 4:25 AM
  4. Problem saving state with radiogroups selections
    By vibez in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 6 Mar 2008, 1:04 PM
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi