Class RevByColumnsAndRowsGridPainter<BGS, BCS, SF>
Render the grid with consolidated row OR column rects.
Remarks
Paints all the cells of a grid, one column at a time.
First, a background rect is drawn using the grid background color.
Then, if there are any rows with their own background color that differs from the grid background color, these are consolidated and the consolidated groups of row backgrounds are all drawn before iterating through cells. These row backgrounds get priority over column backgrounds.
If there are no such row background rects to draw, the column rects are consolidated and drawn instead (again, before the cells). Note that these column rects are not suitable for clipping overflow text from previous columns. If you have overflow text, either turn on clipping (big performance hit) or turn on one of the truncateTextWithEllipsis options.
try...catch surrounds each cell paint in case a cell renderer throws an error.
The error message is error-logged to console AND displayed in cell.
Render the grid with consolidated row OR column rects.
Remarks
Paints all the cells of a grid, one column at a time.
First, a background rect is drawn using the grid background color.
Then, if there are any rows with their own background color that differs from the grid background color, these are consolidated and the consolidated groups of row backgrounds are all drawn before iterating through cells. These row backgrounds get priority over column backgrounds.
If there are no such row background rects to draw, the column rects are consolidated and drawn instead (again, before the cells). Note that these column rects are not suitable for clipping overflow text from previous columns. If you have overflow text, either turn on clipping (big performance hit) or turn on one of the
truncateTextWithEllipsis
options.try...catch
surrounds each cell paint in case a cell renderer throws an error. The error message is error-logged to console AND displayed in cell.