This section provides an example of how to bind data to
a table widget.
Procedure
To bind data to a table widget, do the following steps:
- Define the data structure.
- Define the table column information in a KeyedCollection
data tableRow, it can be used as submit dataname
for single selection mode.

- Define the list data tableRowIColl which
refer to the KeyedCollection data tableRow,
it can be used as submit dataname for multiple selection mode.

- Define the list data tableDatawhich
refer to the KeyedCollection data tableRow,
it is the data structure of the whole table data. You can initialize
or change the table data in the operation.

- Specify the properties for the table.
- Specify tableData as dataNameForList.
In the following table, selectionMode issingle,
so select tableData as dataName. If selectionMode
is multiple, tableRowIColl need
to be defined for dataName.

- Specify column properties for the table.
- Specify Standard properties for the column:
- Specify advanced properties for the column. If the column is Editable,
there are four widgets can be selected: CheckBox, Select, ComboBox,
TextBox. If the column is not editable, there are two widgets for
selection: Image and LabelFromList. Accordingly, you need to specify
the related properties for selected widget.

Results
Data is bound to the table widget.