Adding and Removing Rows
Controls can be added to VDL tables that allow end users to add and remove rows, updating the model data accordingly.
To enable this feature, set the table's add-remove-row attribute to true. You will also need at least one editable column to be defined in the table.
When an end user presses the add row button, a dialog appears, prompting them to select indices based on entering values obtained from the index sets.
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.
|
At least one array column must be editable for the add/remove row controls to be shown.
Rows can be selected for removal by clicking on one of the index cells and then pressing the remove row button.