View Full Version : [CLOSED] setting the height of a grid column header

Oct 03, 2012, 2:48 PM

How do you set the height of the grid column header. The code below use to work. but suddenly when we got the latest version of the library. it stopped working with the error that setHeight is undefined on the column. How can I set the height of the column header

var config = {
xtype: "grid",
styleHtmlContent: true,
frame: true,
store: store,
stripeRows: true,
stateful: true,
viewConfig: {
stripeRows: true
listeners: {
beforerender: function (cmp, eOpts) {
if (cmp.columns[0].height) {

plugins: [],
columns: columns,
selType: 'rowmodel'

var grid = Ext.create('Ext.grid.Panel', config);
return grid;

Oct 03, 2012, 2:57 PM
never mind. Found out I do not need to use the event.