The present invention relates generally to the sizing of the table columns and, more specifically, to a system and method for providing a multi-row capable table.
A table is a set of data elements (values) that is organized using a model of horizontal rows and vertical columns on GUI. In a table, the columns are identified by name, and the rows are identified by the values appearing in a particular column subset which has been identified as a candidate key. A table (in order to fit within the viewing GUI window) has a specified number of columns but can have any number of rows. Besides the actual data rows, tables generally have associated with them some meta-information, such as constraints on the table or on the values within particular columns. Tables are displayed on a user interface (GUI) of a user's computer.
When the width of data to be displayed in a tabular form exceeds the available width of the table control, not all the data can be seen because it is scrolled out of the view. (In computer graphics, scrolling or text crawling is the act of sliding a horizontal or vertical presentation of content, such as text, drawings, or images, across a screen or display window. Scrolling is often used to show large amounts of data that could not fit on the viewport all at the same time, this is commonly used in window-based computer displays. Scrolling is accomplished using horizontal or vertical scroll bars on the GUI.) There is a strong semantic association with the data elements displayed in a row of a table. Much of the cognitive value afforded by displaying this data in columns relative to each other is lost if the columns cannot be seen. The user loses the bird's eye view or, at a glance, the ability to see the data and relationships between data, and is forced to shift to a much more cumbersome scrolling back and forth action to take in the contents of the table. Some systems attempt to alleviate this problem by compressing the data within the individual columns of the row. For example, they may abbreviate the entry. This may be augmented by having a hover facility that expands the entry out-of-line when the mouse floats over the entry. A crude and obvious technique to solve this problem is to simply give the table more room. This is not always applicable or suitable to the application.
There presently is a need for a system and method for dynamically resizing the window without losing context and does not require table numbers (such as the left column in a spreadsheet) to identify the rows and for not eliminating any data and for a system and method which wraps the cells to multiple rows rather than reducing their size. There presently is a need for a system and method for shrinking the individual cells to a reasonable size before requiring the row to be wrapped so that multiple rows may be shown not requiring the user to hover over the row in order to see the missing data.
The present invention is a system and method for showing as much horizontal data as possible without requiring horizontal scrolling while maintaining the attributes and benefits of a tabular display. This is achieved by dynamically splitting a row into two or more sub-rows when the row data would otherwise exceed the available horizontal space of the table control. This avoids the necessity to scroll, excessively compress the data or expand the table control.
In addition, the present invention provides a system and method for showing, on a GUI, on a tabular display, as much horizontal data as possible without requiring horizontal scrolling while maintaining the attributes and benefits of the tabular display, the system having a tabular display unit for implementing the method comprising the steps of:
a. receiving a minimum size value of the tabular display;
b. receiving a maximum size value of the tabular display; and
c. dynamically splitting the horizontal data if the horizontal data exceeds the available horizontal space of the table control.
The illustrative aspects of the present invention are designed to solve one or more of the problems herein described and/or one or more other problems not discussed.
These and other features of the invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings that depict various embodiments of the invention, in which:
The drawings are intended to depict only typical aspects of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represent like elements between the drawings.
The present invention provides a system and method for the sizing of the table columns and, more specifically, to a system and method for providing a multi-row capable table.
When the table columns are defined, they are given the following attributes:
Minimum Size: value
Maximum Size: value
Dynamically Resizable: True/False
As the width of the table is reduced, any columns that are designated as dynamically resizable are proportionally reduced in size until they reach their minimum size. Once all the dynamically resizable columns have reached their minimum size, i.e., the column cannot be reduced any more, the rows are split at the first column, wrapping all other columns onto a sub-row, and resized to fill the available width. The sub-rows are indented to show containment within the primary row.
Rows have been split and resized to fill the available width. As the width of the table is expanded, as soon as the table width is equal to or greater than the sum of the minimum sizes of all the columns, the rows are collapsed in reverse order of their split and resized to proportionately fill the available space.
The data processing system of the present invention, such as that system 400 shown in
Network adapters (network adapter 438) may also be coupled to the system to enable the data processing system (as shown in
The foregoing description of various aspects of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously, many modifications and variations are possible. Such modifications and variations that may be apparent to an individual in the art are included within the scope of the invention as defined by the accompanying claims.