@Override
protected void paintRowIcon(PaintTarget target, Object[][] cells,
int indexInRowbuffer) throws PaintException {
// always paint if present (in parent only if row headers visible)
if (getRowHeaderMode() == ROW_HEADER_MODE_HIDDEN) {
Resource itemIcon = getItemIcon(cells[CELL_ITEMID][indexInRowbuffer]);
if (itemIcon != null) {
target.addAttribute("icon", itemIcon);
}
} else if (cells[CELL_ICON][indexInRowbuffer] != null) {
target.addAttribute("icon",