1. A computer-implemented method for managing row height in an electronic document, the method comprising: receiving, at a computing device, a request to display a portion of a document that defines a plurality of rows of content and that is represented by a document model, wherein the document comprises a spreadsheet made up of cells; determining heights of the plurality of rows and saving information about the heights in a cache that correlates rows to the information, wherein determining the heights of the plurality of rows comprises rendering selected cells in a hidden frame element and determining heights of the selected cells; and using the document model and the cache to generate a view of the document model having the heights.