Show TOC

Binding TablesLocate this document in the navigation structure

Use

At the top level, the dataSource property of the Table must be bound to a context node. Each of the node elements corresponds at runtime to a single row in the table. The selected table rows are specified using node selection (subsets of node elements). The currently selected row corresponds especially to the lead selection of the value node.

The table content is specified for each column using the associated TableCellEditor (for example, using an InputField or TextView UI element). Note that this TableCellEditor does not only enable cell editing. You can also use the cell editor to trigger events ( Button) or display texts or images ( TextView , Image ).

Prerequisites
  • You have created a context node with cardinality 0:n or 1:n and the required context attributes.

  • You have created a Table UI element and the desired number of GroupedColumns ( TableColums or TableColumnGroups ).

  • You have inserted a TableCellEditor to each TableColumn .

Procedure
  1. Bind the Table's dataSource property to the context node.

  2. Bind the relevant property of the TableCellEditor to the corresponding context attribute, for example the text TextView's property.