Form ID |
Table Name |
|---|---|
leaveApplication |
leave_application |
leaveDetails |
leave_details |
Relationship: One leave application has multiple leave details.
Parent Form: leaveApplication

Child form: leaveDetails

Configuring the grid

Storing data
Data will be stored in JSON format in the parent table by default.
Storing in separate table
Data can be stored using the Multirow Form Binder set as the Store Binder and Load Binder.
In the chosen table, one must create a field to keep the parent's ID.
Note: Each of the "value" in the grid's properties must has matching corresponding field in chosen table's field.


Each child record will have its own distinctive ID as the primary key.
Table: leave_application
id |
name |
.... |
|---|---|---|
1550 |
David |
.... |
Table: leave_details
id |
leave_application_id |
... |
|---|---|---|
800 |
1550 |
.... |
801 |
1550 |
... |
802 |
1550 |
... |