Initializing help system before first use

Adding and Removing Rows

Controls can be added to tables that allow end users to add and remove rows, updating the model data accordingly.
Enable this feature by either:
  • selecting the table in the View Designer and editing the Add and remove row attribute.
  • opening the Code editor and setting add-remove-row attribute to true.
Note The table must also have at least one column defined as editable.
When a user presses the Add New Row button, a dialog prompts the user to select indices based on entering values obtained from the index sets.

Add New Row button

The add-remove-row attribute can also be set to addrow-autoinc. In this mode, the add row button will immediately add a new row to a table. The index of the new row is automatically generated by incrementing the maximum existing index value.
Note This feature can only be used with a table in which the entities have a single, integer dimension.
Rows can be selected for removal by clicking on one of the index cells and then pressing the Delete Selected Row button.

Delete Selected Row button