Child Table
Component removed
The Child Table component has been removed from Shesha. Its designer entry now throws Child Table component was removed if anything still tries to render or configure it, and it no longer has a settings panel.
Existing forms that still reference a Child Table are automatically migrated the next time they are opened in the designer: Shesha rewrites the old configuration into a Data Table Context containing a DataTable, with a Quick Search and Table Pager added automatically if the old Child Table had Allow Quick Search or pagination enabled.
To build a nested/related table today:
- Add a Data Table Context where the child table used to be, and set its Source Type, Entity Type (or Form/URL source), and any Permanent Filter needed to scope it to the parent record (for example, filtering by a foreign key that matches the parent entity's id).
- Place a DataTable inside it and configure its columns, CRUD settings, and row events.
- Add a Quick Search and/or Table Pager and/or Table View Selector alongside the DataTable, inside the same Data Table Context, if you need them.
See DataTable and DataTable Context for full configuration details.