Demo calculate the cell height dynamically.