:: Forum >>

setting default column width?

I know I can use CSS to set each column width.

My question is this:

I have 31 columns worth of data that has to be displayed. 24 of those columns represent each hour (in military time). All of those can have the same column width (of 20 px).

Instead of
.aw-column-1 (width: 20px;)

and doing that for each of the 24 columns, is there a way to set ALL the columns of the grid to 20px at once and then set the few different columns to a different width as needed?

I've tried things like:
.aw-column (width: 20px) and
.aw-columns (width: 20px)
.aw-column-3 (width: 100px)

but the default with of AW is still showing. It's not using my default column width of 20px. But, column-3 is changing.

I'm sure it's just something dumb. So I thought I'd ask.
Carl
Saturday, August 12, 2006
Carl,
I've used this from Alex with success:

.aw-grid-cell,
.aw-grid-header,
.aw-grid-footer {width: 10px}

http://www.activewidgets.com/javascript.forum.13357.1/default-columns-widths.html

Thom
Saturday, August 12, 2006

This topic is archived.


Back to support forum

Forum search