-
8 Nov 2011 10:02 AM #1
Unanswered: table el.on('click'
Unanswered: table el.on('click'
i wont click function on table
i trynot wortCode: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 },
tankou
-
8 Nov 2011 1:39 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
- Answers
- 3113
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.
-
9 Nov 2011 3:51 AM #3
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//}); }}}
-
9 Nov 2011 3:59 AM #4
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
Reply With Quote