1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    45
    Vote Rating
    0
    frank_ash is on a distinguished road

      0  

    Default how to checked and unchecked radio button using checked and unchecked button

    how to checked and unchecked radio button using checked and unchecked button


    I have radio button. I have one Checked button and another one Unchecked button. When i click unchecked button there should unchecked the selected radio button. when i click checked button there should checked the unchecked radio button.

    help me.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Here is an example:
    Code:
    new Ext.Viewport({
    	layout: 'fit',
    	items: {
    		xtype: 'form',
    		items: [{
    			id: 'radio',
    			fieldLabel: 'Radio',
    			xtype: 'radio',
    			name: 'radio'
    		}],
    		tbar: [{
    			text: 'Check',
    			handler: function(){
    				Ext.getCmp('radio').setValue(true);
    			}
    		},{
    			text: 'Uncheck',
    			handler: function(){
    				Ext.getCmp('radio').setValue(false);
    			}
    		}]
    	}
    });
    ps. But normally, you don't uncheck a radio...

  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    13
    Vote Rating
    0
    VijayBhaskar is on a distinguished road

      0  

    Default


    Its working

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar