Cells in cells function call for every cell in the table

Not all of them. First it calls only cells that are visible. Later it calls one for each column, because we need to getCellMeta().

Can you add more details what you want to do and why? Maybe we can figure something out.