1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    27
    Vote Rating
    0
    genggeng13 is on a distinguished road

      0  

    Default Radiofield on click

    Radiofield on click


    Hi Guy ,

    any on click equivalent function for radio field ??

    Thank you

  2. #2
    Sencha User pavel.psycho.kurnosov's Avatar
    Join Date
    Apr 2012
    Location
    Belarus
    Posts
    9
    Vote Rating
    0
    pavel.psycho.kurnosov is on a distinguished road

      0  

    Default


    You can use "change" event to handle click event.
    With best regards,
    Pavel

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    27
    Vote Rating
    0
    genggeng13 is on a distinguished road

      0  

    Default


    i try bfore with change event but , i am not sure why it is not firing

  4. #4
    Sencha User pavel.psycho.kurnosov's Avatar
    Join Date
    Apr 2012
    Location
    Belarus
    Posts
    9
    Vote Rating
    0
    pavel.psycho.kurnosov is on a distinguished road

      0  

    Default


    Hope it's helps you if I clear understand you

    Code:
    Ext.onReady(function () {
        Ext.require('Ext.form.Panel');
    
        Ext.create('Ext.form.Panel', {
            title: 'Order Form',
            width: 300,
            bodyPadding: 10,
            renderTo: Ext.getBody(),
            items: [
                {
                    xtype: 'fieldcontainer',
                    fieldLabel: 'Color',
                    defaultType: 'radiofield',
                    defaults: {
                        flex: 1
                    },
                    layout: 'hbox',
                    items: [
                        {
                            boxLabel: 'Blue',
                            name: 'color',
                            inputValue: 'blue',
                            id: 'radio4',
                            listeners: {
                                change: function(radio,newValue, oldValue) {
                                    console.log('log' + newValue +' '+ oldValue);
                                }
                            }
                        },
                        {
                            boxLabel: 'Grey',
                            name: 'color',
                            inputValue: 'grey',
                            id: 'radio5'
                        }
                    ]
                }
            ]
        });
    });
    With best regards,
    Pavel

Thread Participants: 1

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