I am new in Sencha Touch
Can I add Ext.Button into a Ext.List
if yes then how
Thanks Amit Battan
From the question, as simple as it is, the only way that I have been able to get a button into a list is by creating a titlebar and docked to the top and in that titlebar having a button in it. This can be achieved in a view file.
this.add({
xtype: 'titlebar',
docked: 'top',
title: 'Courses',
items:[{
xtype: 'button',
align: 'left',
iconCls: 'add',
iconMask: true,
handler: function(){
var panel = Ext.create('UniversityData.view.EntryForm');
panel.showBy(this);
}
}]
});
This would go in your view's config section