The present invention is in the area of computer graphical user interfaces (GUIs). It can be used in applications that display tabular data in a scrollable grid, allowing user interaction to update the tabular data. Embodiments of the invention include methods to display and interact with tabular data, tangible non-transitory media including such methods, and computer systems executing such methods.
GUI developer uses software components (software components are also called controls or widgets) to build a GUI for a software application. One of the most basic software components is a window, a rectangular area that has a width and a height, a position on the computer screen, and one or more rendering properties, such as a color. A window can contain other software components, but it can also be used as the basis for a more complex software component, such as a button, a text field, a dropdown box, a menu, a scrollbar, etc.
Data grids are software components used to display tabular data, often in a text form. The tabular data may be presented in an X-direction (a row), in a Y-direction (a column), and a Z-direction—usually in the form of multiple tabs, each containing a field containing rows and columns. Typically, rows are preceded by a row header identifying the row location and columns are preceded by a column header identifying the column location. For example, Microsoft Excel displays worksheets (data grids) in which row headers show row numbers (1 . . . 1,048,576), and column headers show column letter combinations (A . . . XFD).
Conventional data grids are primarily directed towards displaying text and numbers. However, advanced data grids, including those used in Microsoft Excel, OpenOffice Calc, LibreOffice Calc and those available in GUI development environments such as NetBeans, Qt, etc., have many more capabilities, including formatting of text fonts, rendering backgrounds of individual cells or cell ranges, overlaying the data grid with bitmaps, vector-based graphics or other objects, populating an individual cell with a widget such as a dropdown box, and even populating an individual cell with a graph. Navigation can be an issue. For example, using the Tab and arrow keys, an Excel user can either navigate the functions in the ribbon, or navigate the cells of a data grid, or navigate objects overlaying the data grid. Use of the Alt and ESC keys allows some means of switching between different types of navigation, but no simple intuitive way is provided to navigate from a cell to an object overlaying a worksheet using just a keyboard.
Embodiments of the invention address issues including rendering performance, navigation, cell style, and provide header innovation.
Embodiments of the invention include methods to display and interact with tabular data in a scrollable grid and to create software capable thereof, tangible non-transitory media including such methods, and computer systems executing such methods. The simplest way to present and interact with the tabular data is in the form of text. The tabular data may be presented in at least a first direction, but is most often arranged in an X-direction (a row) and a Y-direction (a column). A computer graphical user interface (GUI) developer uses software components (software components are also called controls or widgets) to build a GUI for a software application. Data grids are software components to display and interact with tabular data on a computer screen.
Embodiments of the invention provide greater utility to both GUI developers and end users by addressing issues including rendering performance, navigation, cell style, and providing header innovation.
In a first aspect, an embodiment of the invention includes a method for creating a data grid software component for display in a graphical user interface (GUI) on a computer's screen. The method comprises three steps: (a) creating a software class including a container window; (b) instantiating a data grid object from the software class; and (c) populating the data grid object with two or more data cell windows and displaying the data grid object in the GUI. The method has several limitations: (i) the software class is configured to include two or more data cell windows, displayable in a grid organization in the container window; (ii) each data cell window is included in a data cell; (iii) a first data cell includes a first style property to define a first display style of a first data cell window included in the first data cell; (iv) the first style property is configured to include one or more of a first individual value and a first template value; and (v) the first data cell window is configured for displaying a first data value included in the first data cell for receiving user inputs to modify the first data value.
The embodiment further includes at least one of a header associated with one of a row and a column, a footer associated with one of a row and a column, or a corner cell associated with both rows and columns, wherein the at least one of the header, the footer, or the corner cell includes a second software component configured to allow a user to enter valid data only. The second software component may be a date picker or a time picker.
In a second aspect, embodiments of the invention provide a method for navigation of a GUI with multiple software components, including a data grid. The method has the following steps: (710) within the GUI, selecting an initial navigation level and selecting a first of the multiple software components; (720) receiving a user navigation input; (730) determining if the received user navigation input includes a level change command; (740) if it includes a level change command, changing the navigation level; and (750) if it does not include a level change command, navigating within the level based on the received user navigation input. A first navigation level allows for navigating among the multiple software components and a second navigation level allows for navigating within a selected one of the multiple software components. A third navigation level allows for navigating within a cell in the data grid. A first level change command is associated with a first keyboard key and a second level change command is associated with a second keyboard key.
A further understanding of the nature and the advantages of particular embodiments disclosed herein may be realized by reference of the remaining portions of the specification and the attached drawings.
The invention will be described with reference to the drawings, in which:
Embodiments of the invention include methods to display and interact with tabular data in a scrollable grid and to create software capable thereof, tangible non-transitory media including such methods, and computer systems executing such methods. The simplest way to present and interact with the tabular data is in the form of text. The tabular data may be presented in at least a first direction, but is most often arranged in an X-direction (a row) and a Y-direction (a column). A computer graphical user interface (GUI) developer uses software components (software components are also called controls or widgets) to build a GUI for a software application. Data grids are software components to display and interact with tabular data on a computer screen.
Embodiments of the invention provide greater utility to both GUI developers and end users by addressing issues including rendering performance, navigation, cell style, and providing header innovation.
Embodiments may define a data grid in any of a large variety of programming languages and data formats. For example, some GUI developers may prefer to work in a compiled language, such as Java or C++, and other GUI developers may prefer to work in a script language, such as JavaScript or Python. Similarly, software components may be compiled, or interpreted. They may be used from a pre-compiled library, or they may be borrowed from a non-operating system dependent GUI technology, such as hypertext markup language (HTML). The latter is very convenient for defining styles. For example, an embodiment may implement a data cell or a header as a <DIV> element. The format of an individual DIV element may directly be programmed in one or more style statements. The style for multiple DIV elements may be programmed as a class (a style template not to be confused with a software class as used elsewhere in this document), which may be defined in a cascading style sheet (CSS file). An embodiment can change all data cells and/or headers in a class simultaneously by modifying the class definition, and it can change all data cells and/or headers in multiple classes simultaneously by replacing a CSS file.
Column header 402.3 includes a date picker software component. The date picker shows a date (May 31, 2016) including a month, a day, and a year, and including controls to spin each of these up or down. Software developers use date pickers, and similar software components, to allow a user to enter valid data only. In other words, whereas editing a date in the form of text would allow a user to enter an invalid date, a date picker would only accept valid dates. Conventional data grids do not allow users to edit or modify headers and may not allow developers to fill data cells or headers with objects, such as a software component.
In embodiments, data cells may be configured to include text captions and/or software components, for example configured to show and interact with a date, a time, a graph, a chart, a bitmap, streaming graphics, and a streaming bitmap. Display data may be received and/or retrieved from one or more of a software program, a database, a data file, and a data stream.
Additionally, embodiments may offer improved rendering performance by tying a data entry object to a data cell only once a user clicks on the data cell to start editing the data contained in it. In this manner, when a data grid includes a large range of data cells whose input data must be validated by a software component, only the data cell being edited is burdened with the computational complexity of the software component (object).
In the embodiment, row footers, like row headers, do not respond to a user's horizontal scroll inputs, but they move vertically along with data cells in response to the user's vertical scroll inputs. Similarly, column footers in the embodiment do not respond to the user's vertical scroll inputs, but they move horizontally along with data cells in response to the user's horizontal scroll inputs. In some embodiments, footers may have the same style as headers, or the same style as their corresponding headers, or they may have a different style, or footers or ranges of footers may have individual styles and/or styles based on one or more templates. In further embodiments, individual footer style values may override template footer style values. In the example data grid 500, column footers in column footer row 507, as well as corner cells 508 and 509, feature a different background rendering than multi-level column headers 506.
In some embodiments, headers and/or footers may display text captions, rather than the coordinates of conventional data grids. Footer text captions may be the same as header text captions. For example, row footers 504 display the same captions as row headers 503 (“Men”, “Ladies”, etc.). Footer text captions may be different than header text captions. For example, column footers 507 display very different captions (77.0, 109.1, etc.) than the corresponding column headers 506 (“Sales 2017*$1k”, “Q1”, etc.). Footers may include objects, including software components, graphics views, and any other objects with a visual aspect. In an embodiment, a footer may include a software component configured to show and interact with one or more of a text, a date, a time, a graph, a chart, a bitmap, streaming graphics, and a streaming bitmap; and wherein display data is received or retrieved from one or more of a software program, a database, a data file, and a data stream.
Row 506 shows an example embodiment of multi-level column headers. Row 506 includes two levels: a basic level with granularity equal to the granularity of data cell columns (containing captions “Q1”, “Q2”, etc.), and a higher level spanning several data cell columns (with captions “Sales 2017*$1k” and “Forecast 2018*$ . . . ”). Whereas example 500 shows multi-level column headers, further embodiments may include multi-level column footers, multi-level row headers, and/or multi-level row footers. Whether headers or footers, or parts thereof, span single rows/columns or multiple rows/columns, each may have an individual style or a template based style, each may have an individual text caption, and each may include objects, including software components, graphics views, and any other objects with a visual aspect. Multi-level headers and footers may have any depth, i.e. any number of levels, and any extent, i.e. they may span any number of rows or columns. Multi-level headers may have a hierarchical structure, which may be driven by a data source.
Embodiments may further include corner cells, of which each may have an individual style or a template based style, each may have an individual text caption, and each may include objects, including software components, graphics views, and any other objects with a visual aspect. In an embodiment, a corner cell may include a software component configured to show and interact with one or more of a text, a date, a time, a graph, a chart, a bitmap, streaming graphics, and a streaming bitmap; and wherein display data is received or retrieved from one or more of a software program, a database, a data file, and a data stream. Example corner cells 508 and 509 are simple, with a style that matches the style of footer row 507, and equal text captions (“TOTAL”). Corner cells do not respond to any user scroll inputs. In embodiments, individual corner cell style values may override template corner cell style values.
Further embodiments may include high-watermark scrolling to avoid the need for a data grid to show a vertical scrollbar in mobile applications. High-watermark scrolling is a scroll policy that adds a set number of rows to the overall data grid height when explicitly requested by a user. This scroll policy is most appropriate when no other page content exists beneath the data grid and the data grid content is also the prevailing page content. In case there is more data to be shown, the embodiment shows a button, icon, or link, for example on the bottom right of the table, that a user can tap or click to show an additional page of entries or to load more data. A data grid embodiment may implement its data structure in a Document Object Model (DOM) as a data hierarchy. If the embodiment includes high-watermark scrolling, it may keep a first page DOM in local memory as it loads a second page or it may keep existing DOM elements in local memory as it loads more data.
Yet further embodiments that implement a DOM may include virtual scrolling. In virtual scrolling, an embodiment keeps the content of local memory as small as possible by removing DOM elements outside of a data grid's view port from local memory.
Data cells 601.1-602.3 each display a graph. As has been mentioned with respect to
Data grid 600 further shows that text elements need not be horizontal. The texts in row headers 604 are vertical, i.e. they have been rotated 90 degrees counter-clockwise. Embodiments may display text in data cells, headers, footers, and/or corner cells rotated any number of degrees.
Step 710—the embodiment initializes the navigation level and initially selected software component. For example, navigation might be initialized at the highest level, and a software component location in the top left corner of an application main window. Or, navigation might be initialized at the second level where the initially selected software component is a data grid. Within the data grid, the embodiment defines a first selected data cell, for example the top left cell.
Step 720—receiving a user navigation input. The user navigation input may include “level up”, “level down”, “next item”, “previous item”, “item up”, “item down”, etc., as per the assigned keys, such as ESC, F2, Tab or right arrow, Shift+Tab or left arrow, up arrow, down arrow, etc. Because of the widespread use of spreadsheets, users are familiar with several more keys and key combinations that facilitate navigation within a data grid and that feel intuitive. All such keys and key combinations are within the ambit and scope of the present invention.
Step 730—determining if the received user navigation input includes a level change command (level up, or level down).
Step 740—upon determining that the received user navigation input includes a level change command, changing the navigation level and returning to step 720.
Step 750—navigating within the level based on the received user navigation input, and returning to step 720. For example, when the received user navigation input includes the command “next item” (for example from the Tab or the right arrow key) and navigation is set at the first level, the embodiment will select a next software component in the tab order. But if navigation is set at the second level, and the selected software component is a data grid, then the embodiment will select a next data cell within the data grid. If navigation is set at a third level, the embodiment may select a next character within a data cell, or may select a next item within a software component contained in a data cell.
Method 700 focuses on user inputs via a keyboard. GUIs support many more types of user inputs (including via a mouse, stylus, screen gestures, voice controls, eye controls, etc.) as well as different keyboard inputs such as Ctrl+<key> or Alt+<key>, where the user inputs may contain complex navigation commands, such as the command to navigate to a specific software component and change navigation level if needed. Support for complex commands is merely an extension of method 700, which remains intact for embodiments of the invention.
Step 810—creating a software class including a container window. A software class constitutes a software template for an object that may contain functions and properties. Functions and properties may be either public or private. Public functions are mostly used to interface with the class's properties, but they may also be used to act on external variables. Properties, whether public or private, may be as simple as variables, or as complex as other objects and software components, or pointers or references thereto.
Limitation 820—the software class is configured to include two or more data cell windows, displayable in a grid organization in the container window. The grid organization may be in one or more dimensions. Most typically, data cell windows are organized in rows and columns to represent the values included in two-dimensional data tables. However, a data grid may also represent a one-dimensional table (a simple list), a three-dimensional table (multiple pages of two-dimensional tables, a four-dimensional table (multiple books of three-dimensional tables), etc. A data cell window may be as simple as a uniform rectangle to represent empty data, or a text label to represent text or numeric data, or the data cell window may be a container window of another software component, for example one for entering, selecting, or editing textual data, or one for displaying and interacting with complex graphical data.
Limitation 830—each data cell window is included in a data cell. A data cell may be a data structure that includes the data to be displayed, contextual information about the data and the way it is displayed, and the data cell window. It may also include information about how the user may interact with the data, for example whether it is locked or unlocked, the types of data allowed, and whether invalid data is rejected.
Limitation 840—a first data cell includes a first style property to define a first display style of a first data cell window included in the first data cell. The style property may impact many aspects of displaying the data, including background color, foreground color, typeface, font, font effects, font size, positioning, alignment, and any other type of formatting that is common in the art.
Limitation 850—the first style property is configured to be based on one or more of a first individual value and a first template value. The first template may be an external template, prescribing part or all of the aspects of displaying the data, or it may be an internal template that can be selected to replace part or all of the aspects of displaying the data that may come with the class implementation's default values. The first style property may include some element values from the first template, whereas others are overwritten or overridden by individual element values.
Limitation 860—the first data cell window is capable of displaying a first data value included in the first data cell. Embodiments may receive or retrieve the first data from a database, a data file, or a data stream. Embodiments may decode, demodulate, decrypt, process, combine, or manipulate the first data prior to displaying.
Step 870—instantiating a data grid object from the software class. Whereas the software class provides a template, embodiments instantiate an actual data grid software component from the software class for using it in a GUI.
Step 880—populating the data grid object with two or more data cell windows to show at least two data values and displaying the data grid object in the GUI. Populating the data grid enables it to receive or retrieve data for its data cell windows and to display the data to a user, and to receive user inputs to modify the data.
In embodiments, the software class may further comprise a footer configured to include one or more of a text label and another software component. In further embodiments, the software class comprises a corner cell configured to include one or more of a text label and another software component. In yet further embodiments, the software class further comprises a header configured to include another software component.
In some embodiments, the software class further comprises a multi-level header, or a multi-level footer. A multi-level header may include a first level with granularity equal to the granularity of data cell columns or rows, as well as a second and further levels spanning multiple columns or rows. Whether headers or footers, or parts thereof, span single rows/columns or multiple rows/columns, each may have an individual style and/or a template based style, each may have an individual text caption, and each may include objects, including software components, graphics views, and any other objects with a visual aspect.
In embodiments, a data cell may be configured to include one or more of a text label and another software component. The data grid object may include a third data cell window adapted for displaying a graph. And the third data cell window may be adapted for displaying a graph capable of showing data received or retrieved from a database.
A web server 910 is used to process requests from web browsers and standalone applications for web pages, electronic documents, enterprise data or other content, and other data from the user computers. Web server 910 may also provide a menu application, as well as syndicated content, such as RSS or Atom feeds, of data related to enterprise operations.
Application server 920 operates one or more mobile applications. The mobile applications can be implemented as one or more scripts or programs written in any programming language, such as Java, C, C++, C #, or any scripting language, such as JavaScript or ECMAScript, Perl, PHP, Python, Ruby, or TCL. Data applications can be built using libraries or application frameworks, such as Rails, Enterprise JavaBeans, or .NET.
The data applications on application server 920 process input data and user computer requests and can store or retrieve data from database/data storage device 930. Database/data storage device 930 stores data created and used by the data applications. In an embodiment, the database/data storage device 930 includes a relational database, such as MySQL, that is adapted to store, update, and retrieve data in response to SQL format commands. In other embodiments, unstructured data storage architectures and NoSQL databases may also be used.
In an embodiment, application server 920 includes one or more general-purpose computers capable of executing programs or scripts. In an embodiment, web server 910 is implemented as an application running on one or more general-purpose computers. The web server and application server may be combined and executed on the same computer(s).
An electronic communication network enables communication between user computers 960-990, web server 910, application server 920, and database/data storage device 930. In an embodiment, the electronic communication network may further include any form of electrical or optical communication devices, including wired network 940 and wireless network 950. The electronic communication network may also incorporate one or more local-area networks, such as an Ethernet network; enterprise networks, wide-area networks, such as internet and cellular carrier data networks; and virtual networks, such as a virtual private network.
The system is one example for executing mobile applications according to an embodiment of the invention. In another embodiment, application server, web server, and optionally database can be combined into a single server computer application and system. In a further embodiment, virtualization and virtual machine applications may be used to implement one or more of the application server, web server, and database. In still further embodiments, all or a portion of the web server and application functions may be integrated into an application running on each of the user computers. For example, a JavaScript application on the user computer may be used to retrieve or analyze data and display portions of the applications.
Although the description has been described with respect to particular embodiments thereof, these particular embodiments are merely illustrative, and not restrictive. For example, all figures depict two-dimensional tables, with a left-to-right and a top-to-bottom convention. Embodiments of the invention support tables with any number of dimensions, with left-to-right or right-to-left convention, and with top-to-bottom or bottom-to-top convention. Styles of data cells, headers, footers, and corner cells are shown as limited to background hatching, font weight, and thickness of the cell border lines. However, embodiments of the invention support any formatting options known in the art, including background color, background hatching, background shading, background gradients, border line colors and dashing, font, font style, font size, font effects, font position, font color (or foreground color), underlining, overlining, text alignment (horizontal and vertical), indentation, wrapping, text orientation, data type limitations, data value limitations, protection, and data hiding or data cell window hiding. Further, the example figures show static data, or data that can change upon user interaction. However, each of a data cell, a header, a footer, and a corner cell may have volatile data coming from an external data stream, or from an internal data generator such as a random number generator. All such variations are within the scope and ambit of embodiments of the invention.
Any suitable programming language can be used to implement the routines of particular embodiments including C, C++, Java, assembly language, etc. Different programming techniques can be employed such as procedural or object oriented. The routines can execute on a single processing device or multiple processors. Although the steps, operations, or computations may be presented in a specific order, this order may be changed in different particular embodiments. In some particular embodiments, multiple steps shown as sequential in this specification can be performed at the same time.
Particular embodiments may be implemented in a tangible, non-transitory computer-readable information storage medium for use by or in connection with the instruction execution system, apparatus, system, or device. Particular embodiments can be implemented in the form of control logic in software or hardware or a combination of both. The control logic, when executed by one or more processors, may be operable to perform that which is described in particular embodiments. For example, a tangible, non-transitory computer-readable information storage medium such as a hardware storage device can be used to store the control logic, which can include executable instructions.
Particular embodiments may be implemented by using a programmed general-purpose digital computer, by using application specific integrated circuits, programmable logic devices, field programmable gate arrays, optical, chemical, biological, quantum or nano-engineered systems, components and mechanisms may be used. In general, the functions of particular embodiments can be achieved by any means as is known in the art. Distributed, networked systems, components, and/or circuits can be used. Communication, or transfer, of data may be wired, wireless, or by any other means.
It will also be appreciated that one or more of the elements depicted in the drawings/figures can also be implemented in a more separated or integrated manner, or even removed or rendered as inoperable in certain cases, as is useful in accordance with a particular application. It is also within the spirit and scope to implement a program or code that can be stored in a machine-readable medium to permit a computer to perform any of the methods described above.
A “processor” includes any suitable hardware and/or software system, mechanism or component that processes data, signals or other information. A processor can include a system with a general-purpose central processing unit, multiple processing units, dedicated circuitry for achieving functionality, or other systems. Processing need not be limited to a geographic location, or have temporal limitations. For example, a processor can perform its functions in “real time,” “offline,” in a “batch mode,” etc. Portions of processing can be performed at different times and at different locations, by different (or the same) processing systems. Examples of processing systems can include servers, clients, end user devices, routers, switches, networked storage, etc. A computer may be any processor in communication with a memory. The memory may be any suitable processor-readable storage medium, such as random-access memory (RAM), read-only memory (ROM), magnetic or optical disk, or other tangible media suitable for storing instructions for execution by the processor.
As used in the description herein and throughout the claims that follow, “a”, “an”, and “the” includes plural references unless the context clearly dictates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.
Thus, while particular embodiments have been described herein, latitudes of modification, various changes, and substitutions are intended in the foregoing disclosures, and it will be appreciated that in some instances some features of particular embodiments will be employed without a corresponding use of other features without departing from the scope and spirit as set forth. Therefore, many modifications may be made to adapt a particular situation or material to the essential scope and spirit.
This application is a continuation of the following application, U.S. patent application Ser. No. 16/213,260, entitled DATA GRID COMPONENTS, filed on Dec. 7, 2018, which is a continuation of U.S. Pat. No. 10,229,103 issued on Mar. 12, 2019 (U.S. patent application Ser. No. 15/247,857), which applications are incorporated by reference as if set forth in full in this application for all purposes.
Number | Name | Date | Kind |
---|---|---|---|
10318625 | Guggilla | Jun 2019 | B2 |
20050005243 | Olander | Jan 2005 | A1 |
20050171746 | Thalhammer-Reyero | Aug 2005 | A1 |
20050198201 | Bohn | Sep 2005 | A1 |
20060015804 | Barton | Jan 2006 | A1 |
20060015846 | Fraleigh | Jan 2006 | A1 |
20070061714 | Stuple et al. | Mar 2007 | A1 |
20070157081 | Hara | Jul 2007 | A1 |
20070157082 | Green | Jul 2007 | A1 |
20080005658 | Benhase | Jan 2008 | A1 |
20080278495 | Minamide | Nov 2008 | A1 |
20100083081 | Rapp | Apr 2010 | A1 |
20110074788 | Regan | Mar 2011 | A1 |
20120137204 | Petrovicky | May 2012 | A1 |
20120233312 | Ramakumar | Sep 2012 | A1 |
20130139109 | Kim | May 2013 | A1 |
20130167080 | Ari | Jun 2013 | A1 |
20130262974 | Anstis | Oct 2013 | A1 |
20140040724 | Krueger | Feb 2014 | A1 |
20150046856 | Rucker | Feb 2015 | A1 |
20150067568 | Lee | Mar 2015 | A1 |
20150269747 | Hogan | Sep 2015 | A1 |
20160041698 | Tkach | Feb 2016 | A1 |
20160077686 | Cosio | Mar 2016 | A1 |
20170147173 | Schmidt | May 2017 | A1 |
20170235446 | Stolte | Aug 2017 | A1 |
20180150981 | Schneider | May 2018 | A1 |
Entry |
---|
In Design, In Design Help I Table and cell styles, Adobe, Retrieved: Mar. 27, 2014 (Year: 2014). |
Number | Date | Country | |
---|---|---|---|
20200334414 A1 | Oct 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16213260 | Dec 2018 | US |
Child | 16917627 | US | |
Parent | 15247857 | Aug 2016 | US |
Child | 16213260 | US |