:: Forum >>

Grid.Extended Styles

In the Active Widgets 2.0 Beta 3 release, the lovely grid example contains a number of style entries eg #myGrid .aw-alternate-even {background: #fff;}

The Styles section of the documentation refers to "Alternate background colors" for how this is achieved in version 1.0. Is there an equivalent documentation page for version 2.0?


Mike Anonymous
Wednesday, December 28, 2005
I have done alternating rows with the following code for v2

.aw-grid-row {background: #eeeeee; height: 22px; border-bottom: solid #cccccc 1px;}
.aw-alternate-even {background: whitesmoke;}

The first declares for all rows, and the second overrides the background for even rows.
Wednesday, December 28, 2005
If you look in the samples that come with beta 3, you will notice that all the grid examples use alternating backgrounds and if you look in the CSS sections you will see how they are done.
Jim Hunter
Friday, December 30, 2005

This topic is archived.

Back to support forum

Forum search