Is it possible for GridX to set the class for the given row, based on the data in that row?
I'd like to show with special color the rows that were added or changed. That information will be stored in the object as a special field.
As for now, I've found only, how to individualize rendering of cells (using decorator, or overwriting setCellValue
).
I think I found the answer here
http://dojo-toolkit.33424.n3.nabble.com/formatter-o-decoration-in-GridX-td4000793.html
Cell 7 is checked for the value 'ok'.
or if empty cells should not get coloring:
Because dojo.connect is old and somewhat? deprecated. Use aspect.after: