3.2.0

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
May 26,
... 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
May 26,
Yes, see also

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

This topic is archived.

See also:


Back to support forum