Table Post Ready Update Table Cell

Hi Guys,

Just wondering if there is a method to update each table cell after the page is ready. i.e. override the ready() method then update a custom table cell.

I was doing the following:

 public Component generateUnpaidBalanceCell(Account entity) {
    Label label = (Label) componentsFactory.createComponent(Label.NAME);
    BigDecimal bg = accountService.getUnpaidInvoicesTotalForAccount(entity);
    if (bg != null) {
        String numberAsString = String.format("%.2f", bg.round(new MathContext(4, RoundingMode.HALF_EVEN)));
        label.setValue("<font color=\"RED\">$" + numberAsString + "<font>");

    return label;

when I list my accounts. However it is too slow. I was hoping to achieve the same thing (e.g. update each account balances) after the accounts browser has loaded.

For instance, go though each item of the table then update the accounts balances cell. Do all this after the page has loaded…

You can trigger custom cell regeneration using Table.repaint() method:


However it is too slow.

It is slow due to a service call. You could perform bulk service call on ready() and then provide data from the Java controller field if it is set from a column generator.