Skip to content

Add a New Row After Specified Record in Table

Feature Description

Add a new row record after a specified record in the tables of Related List, Child Object, and Lookup List fields in the Table View form

Parameter Settings

Configuration ItemDescription
Data TableThe data table type of the record
Position Record IDUse an expression to return a string. A new row will be added after the row where the Position Record ID is located
Use Record as Default ValueUse an expression to return a string. If a value is set, the creation page will use this record as the default value for the fields. For example, for the copy function, you can set the record ID to be copied here
Field Default ValueSet the default value for the specified fields when creating records through the button

TIP

Adding a new row after the row where the Position Record ID is located will only affect the front-end record sorting. The actual sorting rule of the table is still based on the back-end sorting rule

Example

In the data table module or form page, we need a button. When clicked, it can directly add a new row after a specified record in the table. After completing the data entry, save to create data. For example, in the Data Table Control module shown in the figure below, we have a child table called Data Table Control - Related Table. The Add a New Row After Specified Record in Table button in the child table toolbar can directly add a new row after the selected record. After completing the information, click Save to create a record in the child table.