:: Forum >>

set row style

does any one know how to set the style of a particular row? I would like to change the border of the last row created.
Monday, July 6, 2009
You just need to know the number of rows you have in a grid (which you should already know when you initialise the grid). Each row has a class named aw-row-row_number assigned to it. For example, if you have 9 rows, the last one would have a class called aw-row-8.
Thursday, July 9, 2009
grid.getRow(index).setStyle('border-bottom', '1px solid red');
Alex (ActiveWidgets)
Thursday, July 9, 2009
cheers alex
Friday, July 10, 2009

This topic is archived.

Back to support forum

Forum search