×

Optimizing rendering of data tables

  • US 10,157,173 B2
  • Filed: 08/11/2015
  • Issued: 12/18/2018
  • Est. Priority Date: 02/21/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for rendering a table, the method comprising:

  • receiving, by a processor of a data processing system, at least one table parameter associated with the contents of the table;

    determining, from the at least one table parameter, whether data in the table has changed;

    in response to determining the data in the table has changed, calculating, based on the at least one table parameter, two or more statistical values for a plurality of visible columns of the table;

    receiving, for each of the plurality of visible columns, a selection, via an input device of the data processing system, of at least one of a user-selected run time column width and a default column width;

    calculating, for data displayed in the plurality of visible columns, at least one readability index based on the selected column width and at least one of a data type and the two or more statistical values;

    calculating, based on the at least one readability index, a maximum readability index for the plurality of visible columns, wherein the maximum readability index of a visible column identifies a length within a distribution of field lengths that allows all data in each row of the visible column to be viewed without adjusting a column width of any of the plurality of visible columns;

    determining a chosen resolution for a display of the data processing system, wherein the chosen resolution is associated with a current user session of the data processing system;

    determining, from the current user session, a total width that specifies an available space for presenting, on the display, an entire table at the chosen resolution;

    determining an optimal column width of each of the plurality of visible columns based on the maximum readability index, wherein the optimal column width of a visible column maximizes a width of the visible column based on the total width and the chosen resolution;

    setting the column widths for the plurality of visible columns to the optimal column widths;

    storing the optimal column widths as metadata within system memory of the data processing system; and

    rendering the table on the display using the optimal column widths;

    wherein the optimal column widths of the table are accessed from the metadata within the system memory during subsequent renderings of the table on the display.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×