I have tried to create grid with dynamic column by following example code:
Above can work fine.
However, I would like to add some styles to each cell after the all columns are rendered.
Code:
if (grid.lockedGrid)
{
grid.lockedGrid.headerCt.removeAll(true);
grid.reconfigureLockable(grid.store, columns);
}
else
{
grid.headerCt.removeAll(true);
grid.reconfigure(grid.store, columns);
}
grid.getView().refresh();
grid.doLayout();
Above can work fine.
However, I would like to add some styles to each cell after the all columns are rendered.
How do I know when all columns are rendered completely after reconfigure grid column?
Is there any event after reconfigure?
Thank in advance.
earist.
Aucun commentaire:
Enregistrer un commentaire