I have 10 grids in my project where I want to define one extra header, and that header will open menu on double click, single click will return null. This functionality works fine in my 3.4 version. But somehow i am not able to extend 'Ext.grid.header.container' class. Any suggestion why?? Please refer below my code.
Ext.define('Ext.grid.HeaderColumnModel', {
extend: 'Ext.grid.header.container',
initComponent: function()
{
this.callParent();
}
}
Usage
columns : new Ext.grid.HeaderColumnModel()
OR
colModel: new Ext.grid.HeaderColumnModel()