Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default getting value from grid

    getting value from grid


    Hi,
    i have a grid(5 column) with 3rdcolumn having hyperlinks.on click of that hyperlink one popup will come.In that popup to populate data i want the value of that perticular row of 1st column. i mean if i will click the hyper link of (2,3)position(row,col) the i want the value of (2,1) position.

    So how i will do 2 event i.e hyperlink click and getting value of the row.

    please help me....

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,865
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You can use the following to check for row/cell values depending on your model

    Code:
    Ext.onReady(function(){
    
        var store = Ext.create('Ext.data.Store', {
            storeId:'simpsonsStore',
            fields:['name', 'email', 'change'],
            data:{'items':[
                { 'name': 'Lisa',  "email":"lisa@simpsons.com",  "change":100  },
                { 'name': 'Bart', "email":"bart@simpsons.com", "change":-20  },
                { 'name': 'Homer', "email":"homer@simpsons.com",  "change":23   },
                { 'name': 'Marge', "email":"marge@simpsons.com", "change":-11   }
            ]},
            proxy: {
                type: 'memory',
                reader: {
                    type: 'json',
                    root: 'items'
                }
            }
        });
    
        Ext.create('Ext.grid.Panel', {
            title: 'Simpsons',
            store: Ext.data.StoreManager.lookup('simpsonsStore'),
            height: 200,
            width: 400,
          //  selModel: { selType: 'cellmodel' }, // for cell mode
            renderTo: Ext.getBody(),
            
            listeners: {
                select: function(view,node,selections,eopts){
                    console.log('--- select ---');
                    console.log(view);
                    console.log(node);
                    console.log(selections);
                    console.log(eopts);
                },
                itemclick: function(view,record,item,e,eopts){
                    console.log('--- itemclick ---');
                    console.log(view);
                    console.log(record);
                    console.log(item);
                    console.log(e);
                    console.log(eopts);
                }
            
            }            
            
        });
    });
    Scott.

Thread Participants: 1

Tags for this Thread