3.2.0

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.
trevor
July 6,
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.
Anthony
July 9,
grid.getRow(index).setStyle('border-bottom', '1px solid red');
Alex (ActiveWidgets)
July 9,
cheers alex
trevor
July 10,

This topic is archived.

See also:


Back to support forum