Adaptive column selection
First Claim
1. A computer-implemented method comprising:
- obtaining a size of a table in a display area;
obtaining column descriptors, each column descriptor identifying a column, a column width and a minimum column width, wherein at least one column descriptor includes a column width different from the minimum column width;
on a device, automatically gathering a set of columns from one or more applications;
from the set, determining a set of columns to present, including;
including a high priority column based on a determination that the high-priority column is required;
comparing the column width of a column to an available size remaining in the display area after accounting for the width of the high priority column, andincluding the first column in the set in response to determining that the column size is less than the available size;
comparing the minimum column width of a second column to the available size remaining in the display area after accounting for the column width of the high priority column and the first column, the minimum column width of the second column being different from the column width of the second column;
excluding the second column from the set in response to determining that the minimum column size of the second column is greater than the available size remaining;
calculating an aggregate width of all the columns in the set;
allocating a portion of the size of the table to each column in the set of columns based on a ratio of width of the respective column and the aggregate width of the table; and
presenting the columns in the set of columns on the display area.
4 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for adaptive column selection. One of the methods includes obtaining a size of a display area. The method includes obtaining column descriptors, each column descriptor identifying a column and a column width. The method includes determining a set of columns to present, including comparing the column width of a column to an available size remaining, and including the column in the set in response to determining that the column size is less than the available size. The method includes calculating an aggregate width of all the columns in the set. The method includes allocating a portion of the size to each column in the set of columns based on a ratio of width of the respective column and the aggregate width. The method also includes presenting the columns in the set of columns on the display area.
-
Citations
18 Claims
-
1. A computer-implemented method comprising:
-
obtaining a size of a table in a display area; obtaining column descriptors, each column descriptor identifying a column, a column width and a minimum column width, wherein at least one column descriptor includes a column width different from the minimum column width; on a device, automatically gathering a set of columns from one or more applications; from the set, determining a set of columns to present, including; including a high priority column based on a determination that the high-priority column is required; comparing the column width of a column to an available size remaining in the display area after accounting for the width of the high priority column, and including the first column in the set in response to determining that the column size is less than the available size; comparing the minimum column width of a second column to the available size remaining in the display area after accounting for the column width of the high priority column and the first column, the minimum column width of the second column being different from the column width of the second column; excluding the second column from the set in response to determining that the minimum column size of the second column is greater than the available size remaining; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the table to each column in the set of columns based on a ratio of width of the respective column and the aggregate width of the table; and presenting the columns in the set of columns on the display area. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer storage medium encoded with computer program instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
-
obtaining column descriptors, each column descriptor identifying a column, a column width and a minimum column width, wherein at least one column descriptor includes a column width different from the minimum column width; on a device, automatically gathering a set of columns from one or more applications; from the set, determining a set of columns to present, including; including a high priority column based on a determination that the high-priority column is required; comparing the column width of a column to an available size remaining in the display area after accounting for the width of the high priority column, and Including the first column in the set in response to determining that the column size is less than the available size; comparing the minimum column width of a second column to the available size remaining in the display area after accounting for the column width of the high priority column and the first column, the minimum column width of the second column being different from the column width of the second column; excluding the second column from the set in response to determining that the minimum column size of the second column is greater than the available size remaining; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the table to each column in the set of columns based on a ratio of width of the respective column and the aggregate width of the table; and presenting the columns in the set of columns on the display area. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising; obtaining column descriptors, each column descriptor identifying a column, a column width and a minimum column width, wherein at least one column descriptor includes a column width different from the minimum column width; on a device, automatically gathering a set of columns from one or more applications; from the set, determining a set of columns to present, including; including a high priority column based on a determination that the high-priority column is required; comparing the column width of a column to an available size remaining in the display area after accounting for the width of the high priority column, and including the first column in the set in response to determining that the column size is less than the available size; comparing the minimum column width of a second column to the available size remaining in the display area after accounting for the column width of the high priority column and the first column, the minimum column width of the second column being different from the column width of the second column; excluding the second column from the set in response to determining that the minimum column size of the second column is greater than the available size remaining; calculating an aggregate width of all the columns in the set; allocating a portion of the size of the table to each column in the set of columns based on a ratio of width of the respective column and the aggregate width of the table; and presenting the columns in the set of columns on the display area. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification