By choosing to create a table with no existing data model,
you can create a table that allows the user to add or delete rows
of information.
To create a table with no existing data model:
- Add the table to the form:
- In the Palette, click Table.
- Click on the canvas where you want the table to be positioned.
The Table Editor opens with Create new data model selected.
- Click Next.
- In the Table Editor, add the columns and rows:
- Within the Element Name field,
type the column name you want to display in the table.
Pressing
the Enter key adds the element name to the list. Once all element
names are added, use the arrow keys to change the order of the column
headings. Clicking the
left (<) arrow key
removes the element name from the list.
Note: The next page of the
Table Editor lets you add alternate column headings for the element
names if required.
- Enter the initial number of rows in the table.
If
your table will have a large number of rows, you can set the number
of visible rows to save space on the form. For example, your table
contains 20 rows, you may say the user will only see 5 rows at a time.
The user is notified that they are viewing rows 1 - 5 of 20. Users
are still able to add and remove rows from a table.
- Click Next.
- Configure the columns:
- In the Display Columns list,
select a column name listed.
- Set any of the following Details for
each column name:
- Header — Type the column name you want
displayed on the table.
- Width (pixels) — Set the width of the
selected column. The default is 100 pixels.
- Display type — Set the display to either Text
(Read/Write) or Text (Read).
- Display column header — Select or clear
the check box to display or hide the column header name.
- Show Border around column — Turn on or
off the borders. Default is on.
- Click Next.
- If required, set the general display and configuration
settings.
- Click Finish.