Adaptive table rendering
AssigneeGoogle Inc.
InventorIstván SOÓS
Life of this patent
Estimating the term…
Abstract
A system and method is disclosed for adaptive rendering of displayable elements such as rows in a table displayed on a web page. A web page is provided that includes instructions for displaying a large number of displayable elements that cannot be displayed at the same in a single viewport. A predetermined number of the elements are initially rendered and a time period for the rendering is measured. Based on the measured time period, a pagination mode or a scrolling mode is selected to display the displayable elements.
Claims20
A computer-implemented method, comprising:
- providing, for display in a viewport of a computing device, a displayable document comprising instructions for facilitating a display of a plurality of displayable elements that cannot be displayed together at the same time in the viewport, the instructions, when executed by the computing device, perform the operations of:
- rendering a predetermined number of the plurality of displayable elements for display in the viewport;
- measuring a first time period for rendering the predetermined number of the plurality of displayable elements;
- and
- selecting one of multiple predetermined rendering modes for the plurality of displayable elements based on the measured first time period, a pagination mode being selected for paginating the plurality of displayable elements over a plurality of respective documents when the first time period satisfies a first predetermined threshold.
A computer program product tangibly embodied in a computer-readable storage device and comprising instructions that, when executed by a computing device, cause the computing device to:
- provide a displayable document comprising a listing of displayable elements that cannot be displayed together in a single viewport associated with the computing device;
- render a predetermined number of the plurality of displayable elements within the displayable document;
- measure a first time period for rendering the predetermined number of the plurality of displayable elements;
- and
- select one of multiple predetermined rendering modes for the plurality of displayable elements based on the measured first time period, a pagination mode being selected for paginating the plurality of displayable elements over a plurality of respective documents when the first time period satisfies a first predetermined threshold.
A system, comprising:
- one or more processors;
- and
- a memory including instructions that, when executed by the one or more processors, cause the one or more processors to facilitate the step of:
- providing a web page to a web browser operating on a computing device, the web page comprising instructions for display of a plurality of displayable elements that cannot be displayed together at the same time in a single viewport, the instructions, when executed by the computing device, perform the operations of:
- rendering a predetermined number of the plurality of displayable elements for display by the web browser;
- determining a time period for the rendering;
- selecting a rendering mode for the displayable elements based on the time period, a pagination mode being selected for paginating the displayable elements over a plurality of respective web pages when the time period satisfies a first predetermined threshold, and a scrolling mode being selected for rendering the displayable elements according to a scroll position of the viewport when the time period satisfies a second predetermined threshold;
- and
- while a mode other than the pagination mode is selected, repeating the rendering, determining, and selecting until all of the plurality of displayable elements are rendered.
Dependencies are inferred from the claim text.