I want to implement a plugin in extjs grid but its not rendering.
Tried with below code but not working for me, no error on console.
Ext.define('xyz', {
extend: 'Ext.grid.Panel',
xtype: 'mytype',
requires: [
'Store',
'ServerFilterPlugin' // plugin
],
config: {
filterView: 'displayfilterconfig'
},
plugins: [Ext.create('plugin.serverFilterPlugin')], //even tried with below way to implemet plugin but that is also not working
//plugins: [{
// ptype: 'serverFilterPlugin',
// orderIndex: 10,
// filterView: 'displayfilterconfig'
//}],
Plugin:
Ext.define('ServerFilterPlugin', {
extend: 'Ext.AbstractPlugin',
alias: 'plugin.serverFilterPlugin',
requires: [
'DisplayToolbar',
"StoreLoadMonitor"
],
init: function (grid) {
var me = this;
How to fix it, how to get debugger in init of plugin?