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 content of selected cells in a hidden frame element and determining offset heights of the content of selected cells; and using the document model and the cache to generate a view of the document model having the determined heights, wherein the generated view of the document model comprises spreadsheet cells with content and is separate from the hidden frame element comprising content.
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 content of selected cells in a hidden frame element and determining offset heights of the content of selected cells; and using the document model and the cache to generate a view of the document model having the determined heights, wherein the generated view of the document model comprises spreadsheet cells with content and is separate from the hidden frame element comprising content. 2. The computer-implemented method of claim 1 , wherein the request to display the portion of the document comprises a scrolling input from a user viewing the document, and further comprising determining a view area around a current viewport being displayed to the user.