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:


Second: I'm using the afterrender listener to add an custom item to the menu:

 var grid = new Ext.grid.GridPanel({
 listeners: {
                'afterrender': function () {
                        var menu = this.headerCt.getMenu();
                            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?