:: Forum >>

Have different Grid properties like Width of Cols in two grids on the same page

I would like to have two grids on the same page. The problem is how do I set the width and other parameters differently.

The following css when applied changes the column width in both the grids.

.aw-column-4 {
WIDTH: 125px;
TEXT-ALIGN: left;
}


Any Ideas??????. Thanks in advance.
Arun Iyer
Friday, May 26, 2006
... source of examples/quickref/grid.html
<style>
...
/* you may skip grid id (#myGrid) in all other rules
- if the rule applies to all grids
- if you have only one grid on your page */

#myGrid { width: 400px}
#myGrid .aw-grid-row {height: 20px; border-bottom: 1px solid #ccc}
...

</style>

var obj = new AW.Grid.Extended;
obj.setId("myGrid"); // necessary for CSS rules




TyD
Friday, May 26, 2006
Yes, see also

http://www.activewidgets.com/javascript.forum.14270.1/multiple-grid-in-same-page.html
Alex (ActiveWidgets)
Friday, May 26, 2006

This topic is archived.


Back to support forum

Forum search