View Full Version : grid header row
HI!
how do i hide header row in grid?
richardtallent
12 Oct 2007, 12:06 PM
Same question here... I have a grid with a single column and a collapsible title. The column header row is superfluous.
I think CSS is one solution, but that seems really hackish, there's no API hook for a CSS style attribute for the header row.
tryanDLS
12 Oct 2007, 12:54 PM
One way to do it
grid.getGridEl().select('.x-grid-header').setStyle('height',0)
Tim's solution did not work for me. I decided to attempt a css solution instead.
this.grid = new Ext.grid.GridPanel({
...
cls: 'pei-grid',
...
});
.pei-grid .x-grid3-header {
display: none;
}
Works perfectly.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.