:: Forum >>

grid

As a newcomer I want to use the grid with other font size. How can set the font properties for the grid ?
Nobima
Monday, October 15, 2007
obj.setStyle("font-size", "15px");
Alex (ActiveWidgets)
Wednesday, October 17, 2007
I had been using
#myGrid .aw-item-text {font-size: 9px;}

which worked fine in 2.0. I find it no longer works in 2.5 (my only codefix needed so far). Has it been deprecated?

I should clarify in 2.5 the headers were still in 9px but the grid was not effected.
Michael
Friday, December 14, 2007
In 2.5 the grid uses AW.Templates.Cell by default and not AW.Templates.Text as it was in 2.0.

AW.Templates.Cell class does not render inner span element around the cell text, so .aw-item-text does not work. Instead you can apply the style to the cell element -

#myGrid .aw-item-text,
#myGrid .aw-grid-cell {font-size: 9px;}
Alex (ActiveWidgets)
Monday, December 17, 2007

This topic is archived.


Back to support forum

Forum search