PDA

View Full Version : grid column header css class



wp.joju
19 Nov 2009, 2:26 AM
can i somehow add a css class name to the grid column header?

Condor
19 Nov 2009, 2:32 AM
Ext doesn't have any properties to do this (see feature request (http://www.extjs.com/forum/showthread.php?t=46250) with possible patch).

Without the patch you would need to add the class to the header after the grid is rendered, e.g.

Ext.fly(gridPanel.getView().getHeaderCell(colIndex)).addClass(myClass);

wp.joju
19 Nov 2009, 2:41 AM
i tried adding headerCls but no effect... does that work for groupingview?