:: Forum >>

Hide column headers for 2nd Grid

I am having 3 grids on my page.
1 and 2 grids are the list grids and the 3rd grid is the summary grid. in which I don't want the column headers. how can I hide the column headers. I have verified to /grid.howto.style.headers/hide-column-headers.html URL. but it hides the column header for all
grids. I want to hide the column header specific to one grid?
how can I achieve this?

Alex, will u please help me on this...
Thursday, April 28, 2005
I have two grids showing... reference each grid with an id and use this in the stylesheet to only specify the style for that id... Sample code (sorry a little messy)...

#GridFilter {height: 50px; background-color: threedlightshadow; }
#GridFilter .active-scroll-top, .active-scroll-corner {display: none}
#GridFilter .active-scroll-left, .active-scroll-data {padding-top: 0px}

.active-controls-grid {height: 400px; cursor: hand;border-bottom: 1px solid threedlightshadow;}

// create the grid object
var objfltr = new Active.Controls.Grid;
objfltr.setProperty("row/count", 1);
objfltr.setProperty("column/count", myColumns.length);
objfltr.setProperty("data/text", '');
objfltr.setProperty("column/texts", myColumns);

// create the grid object
var obj = new Active.Controls.Grid;
obj.setProperty("row/count", (myData.length-1));
obj.setProperty("column/count", myColumns.length);
obj.setProperty("data/text", function(i, j){return myData[i][j]});
obj.setProperty("column/texts", myColumns);
Big AL from Sydney
Wednesday, September 14, 2005

This topic is archived.

Back to support forum

Forum search