Hi,

I'm trying to implement this method this way:

    table = new ExportTable("table") {

            @Override
            public void addRowAttributes(Map attributes, Object row, int
rowIndex) {
                Prospect p = (Prospect) row;
                if (user.getInstitutionId() != p.getInstitutionId()) {
                    attributes.put("class", "disabled");
                }
            }
        };

Then, my disabled class is defined in a css inside my project like this:

    tr.disabled {
        background-color: #444;
    }

However, I'm not seeing the change in color. I've also tried defining the
disabled class this way:

    disabled {
        background-color: #444;
    }

to no avail. For testing purposes, attributes.put("class", "odd"); renders
the odd color for the table.css class I chose, Table.CLASS_BLUE2 in this
example. Where am I supposed to define this additional table row class?

Cheers,
-Carlos

Reply via email to