1. An electronic device, comprising: a display and a touch-sensitive surface; one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: displaying a table comprising a plurality of rows, a plurality of columns, and a plurality of header regions, wherein: the header regions include a row header region and a column header region, each row has a height and a row header in the row header region, and each column has a width and a column header in the column header region; detecting a first contact and a second contact on the touch-sensitive surface; detecting a gesture on the touch-sensitive surface, wherein the gesture includes movement of one or more of the first contact and the second contact on the touch-sensitive surface; and in response to detecting the gesture: when the detected gesture is a pinch gesture at a location on the touch-sensitive surface that corresponds to one or more respective columns in the table and has a component that is perpendicular to the one or more respective columns, decreasing the width of the one or more respective columns in the table; and when the detected gesture is a de-pinch gesture at a location on the touch-sensitive surface that corresponds to one or more respective columns in the table and has a component that is perpendicular to the one or more respective columns, increasing the width of the one or more respective columns in the table.