1 Attachment(s)
Problems with locked column grid
I've got two problems by using locked columns.
First: The layout is broken by grouping my data in the grid because the groupHeaderTpl is missing at the right side:
Attachment 40254
Second: I'm using the afterrender listener to add an custom item to the menu:
Code:
var grid = new Ext.grid.GridPanel({
//(...)
listeners: {
'afterrender': function () {
var menu = this.headerCt.getMenu();
menu.add([{
text: 'custom item',
id: 'customMenuItem',
handler: function () {
//(...)
But I get an error if the colum is locked because the headerCt is undefined. Without locking it's no problem.
Have you any ideas to this?