johanhaest
31 Jul 2012, 6:10 AM
Hi guys, is it possible to add a plugin to a grid that adds a toolbar to it?
I was thinking of something like the following:
Ext.define('Ext.ux.filter.FilterBar', {
alias: 'plugin.filterbar',
init: function (grid) {
var me = this;
grid.tbar = [{
xtype: 'button',
text: 'Button 1'
}];
}
});
I was thinking of something like the following:
Ext.define('Ext.ux.filter.FilterBar', {
alias: 'plugin.filterbar',
init: function (grid) {
var me = this;
grid.tbar = [{
xtype: 'button',
text: 'Button 1'
}];
}
});