Report question

Question: Iphone - when to calculate heightForRowAtIndexPath for a tableview when each cell height is dynamic?