1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    356
    Vote Rating
    0
    Answers
    1
    koko2589 is on a distinguished road

      0  

    Default Unanswered: table el.on('click'

    Unanswered: table el.on('click'


    i wont click function on table
    i try
    Code:
     layout:'table', id:'lnk',   listeners: { 
                            render : { 
                                fn: function(lnk) { 
                                    lnk.el.on('click', function() {//do somting//});
      }}
    }
    ,
    
       layoutConfig: {columns:3},
                    // applied to child components
                    defaults: { width:55, height: 45
                },
    not wort
    tankou
    my ext js site
    http://www.itoto4.com/

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,582
    Vote Rating
    433
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Any errors? What debugging have you done?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2009
    Posts
    356
    Vote Rating
    0
    Answers
    1
    koko2589 is on a distinguished road

      0  

    Default


    no eror its not work
    my table is inside carousel
    http://www.itoto8.com/

    Code:
     var item1 = new Ext.Panel({                renderTo: 'container2',style: {
                        margin: '5px 5px 5px 5px'
                    },
                   layoutConfig: {
                    pagedScroll: true,
                    loopCount:0,
                    scrollButtonPosition:'split',
                    marginScrollButtons: 1
                },
    
    
           layout: 'carousel',
    
    
                items: [{
         
     title: "בלוגטיוי ספורט",  
     id: "blog",
                    style: {
                        margin: '5px 5px 5px 5px'
                    },
                 height: 140,   width: 200, 
     
    
     layout:'table', id:'lnk',   listeners: {                         render : {                             fn: function(lnk) {                                 lnk.el.on('click', function() {//do somting//});  }}}
    my ext js site
    http://www.itoto4.com/

  4. #4
    Sencha User
    Join Date
    Mar 2009
    Posts
    356
    Vote Rating
    0
    Answers
    1
    koko2589 is on a distinguished road

      0  

    Default


    i do like this is work but from body iwant just from table
    tankyu
    Code:
    listeners: {render: function(c){
    c.getEl().on({
    click: function(el){
     new Ext.ux.ToastWindow({
    		    title: 'מרלין-קישורים ממומנים',closeAction: 'hide', closable: false,
    draggable   : false,resizable : false,bodyStyle: 'background: #ffffff;padding:0px',
                   	
     
    
    
    		    html : '<body><IFRAME id="chat11" 
    
    
    SRC="http://www.tvonsport.com/totalmedia/bz.html" frameborder="0"scrolling="no" 
    
    
    style="border:0px none;width:100%;height:100%;"></IFRAME></body>',
    		    iconCls: 'downloads'
    		}). show(document);
    },
    scope: c
    });
    }
    
    
    },
    my ext js site
    http://www.itoto4.com/