Threaded View
-
7 Dec 2012 4:27 AM #1
Unanswered: Custom List Element
Unanswered: Custom List Element
How can I add an Ext.Button to be applied to each member of my Ext.List ?
I've tried the approach of rewriting the refresh of the list, but it just does not feel right.
What I'd really like to do was something like :
Is it possible ?Code:Ext.define('BioMobile.view.RFQList', { extend: 'Ext.List', xtype: 'rfqlist', config: { itemTpl: Ext.create('Ext.XTemplate', '<div class="test" id="{id}"/>', Ext.create('Ext.button', { ... }, '</div>') } });


Reply With Quote