我想根据 CellTable(或 DataGrid)中的“行”值的值来确定是否使用了图标。在构建 Cell 渲染器时如何确定?
IconCellDecorator<String> icd = new IconCellDecorator<String>(res.search(), new ClickableTextCell()) {
@Override
protected boolean isIconUsed(String value) {
//value may not be unique across rows (column value), I really need the row instance here.
}
};