:: Forum >> Version 1 >>

Multiple Grids - Different Columns Styles

Thought I should share this, it might just help somebody.

If you have multiple grids on one page but need to apply different styles on the columns, the following should work:

.active-controls-grid {fontmenu;}
.
active-grid-column {border-right1px solid threedlightshadow;}
.
active-grid-row {border-bottom1px solid threedlightshadow;}
.
active-grid-row,
.
active-grid-row .active-list-item,
.
active-scroll-left .active-list-item {heightauto;}
.
active-column-{displaynone!important;}

#grid1{height160pxborder1px insetbackgroundwhite}
#grid1 .active-column-{displaynone!important;}
#grid1 .active-column-{displaynone!important;}

#grid2{height160pxborder1px insetbackgroundwhite}
#grid2 .active-column-{displaynone!important;}
 
The lesson learnt is that using the css selector '#grid1 .active-column-4' will define the style of elements of class '.active-column-4' that are children of the element 'grid1'.
Neil Craig
Thursday, November 10, 2005



This topic is archived.

Back to support forum

Forum search