摘要 |
Disclosed are a method and system for grouping columns of data into different levels for subsequent multiple level operations. The method comprises the steps of providing sub-columns within a single table column, said table columns and each of the sub-columns having an associated header; and using multiple dummy tables and displaying them separately on different locations, one of the dummy tables including one or more of the associated headers. The preferred embodiment of the invention uses a tool, referred to as the Jtable class, which is used to display and edit regular two-dimensional tables of cells. The present invention is able to support multilevel headers and column spanning by using multiple tables and displaying them separately. Preferably, this is done using another tool, GridBagLayout, which is associated with Jpanel tool.
|