To create a new column on the workarea, six kinds of modes are
provided:
- Mode I: Using API BTTUtil.workarea.addColumn without
any parameter, a new column is added at the end in the current tab and the
column ID is returned.
Table 1. Mode IInput |
Output |
null |
A new column is added at the end in the current tab.
And the column ID is returned. |
- Mode II: Using API BTTUtil.workarea.addColumn with a
tab Id parameter, a new column is added at the end of the specified tab. And
the column ID is returned.
Table 2. Mode IIInput |
Output |
P1 (tab Id) |
A new column is added at the end of the specified tab.
And the column ID is returned. |
- Mode III: Using API BTTUtil.workarea.addColumn with a
tab ID parameter and an attribute parameter, a new column is added at the
end of the specified tab with the specified attributes . And the added column
ID is returned.
Table 3. Mode IIIInput |
Output |
P1 (tab ID), P2 (attributes) |
A new column is added at the end of the specified tab
with the specified attributes . And the added column ID is returned. |
- Mode IV: Using API BTTUtil.workarea.addColumn with a
tab ID parameter and an index parameter, a new column is added in the corresponding
tab, and the added column ID is returned.
Table 4. Mode IVInput |
Output |
P1(tab ID), P2(index) |
A new column is added in the corresponding tab. And
the added column ID is returned. |
- Mode V: Using API BTTUtil.workarea.addColumn with a column
ID parameter, an index parameter and an attribute parameter, a new column
is added before of after the specified column with the specified attributes.
And the added column ID is returned.
Table 5. Mode VInput |
Output |
P1 (Column ID), P2 (index), P3 (attributes) |
A new column is added before of after the specified
column with the specified attributes. And the added column ID is returned. |
- Mode VI: Using API BTTUtil.workarea.addColumn with a
tab ID parameter, an index parameter and an attribute parameter, a new column
is added in the corresponding tab with the specified attributes. And the added
column ID is returned.
Table 6. Mode VIInput |
Output |
P1 (tab ID), P2 (index), P3 (attributes) |
A new column is added in the corresponding tab with
the specified attributes. And the added column ID is returned. |