1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    5
    Vote Rating
    0
    rashid.jahangir is on a distinguished road

      0  

    Default Unanswered: Help Required Regarding CheckBoxGroup

    Unanswered: Help Required Regarding CheckBoxGroup


    Hello Everybody,
    i need help . when i check checkbox group then it should show me radio button group and when i uncheck then radio button group disappear. i am working in EXTJS 4.
    please help me i will be very thank full to you.
    Regards

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,592
    Answers
    541
    Vote Rating
    323
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    It's pretty difficult to help you with that little information.

    Given the details you've provided, the technique would be to add a handler to the checkbox and then call the show() or hide() method on the radiogroup.

    http://docs.sencha.com/ext-js/4-0/#!...ox-cfg-handler

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    5
    Vote Rating
    0
    rashid.jahangir is on a distinguished road

      0  

    Default


    Thank you for your reply..!!
    actually i have a checkboxGroup and its items are coming from database as shown in image .
    Now i want when user check the checkboxGroup item then below it show the radiobuttonGroup to rate this item.
    i hope you will help me...!!

    var ratings=new Ext.form.RadioGroup({
    columns :3,
    items :[
    {
    boxLabel : 'Beginer' ,
    name: 'beginer'
    },{
    boxLabel : 'Intermediate' ,
    name: 'intermediate'
    },{
    boxLabel : 'Advance' ,
    name: 'advance'
    }
    ]
    });


    var language_skills_checkbox = new Ext.form.CheckboxGroup({
    columns: 3,
    items: languages_skills,
    handler: function() {
    // here i do not know what to do
    // how to show above radiobuttonGroup when checkbox checked and
    how to hide when checkbox is unchecked.
    }

    });
    Attached Images

Thread Participants: 1