:: Home >>

Styles

While the number/date formatting requires some javascript code, most of the visual attributes could be specified completely in CSS using specific template class selectors and/or object IDs.

#myGrid { width: 400px}
#myGrid .aw-grid-row {height: 20px; border-bottom: 1px solid #ccc}
#myGrid .aw-alternate-even {background: #fff;}
#myGrid .aw-mouseover-row {background: #ccc;} 
#myGrid .aw-rows-selected {background: #316ac5;}
#myGrid .aw-column-0 {width: 50px; border-right: 1px dotted #ccc;}

Comments

30 Oct 09
Centering data in columns Thinman (3)
30 Apr 07
Setting a cell to a color based on the cell value Bernie (1)
4 Dec 06
Font size of content Joe (0)
27 Sep 06
reg cel text color Dileep (0)
9 Aug 06
#myGrid { width: 500px;} not working Jake (1)
obj.setStyle('width', '500px'); Jake (0)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5