useTable hook
The useTable hook is a custom React hook that provides the state and functions to manage a table page or its nested tables.
Returned values
- data:
TablePageGetRecordsResult- The table data including records and metadata. - tableSchema:
RelationalDatabaseSchemaTable- The schema of the table. - nestedTableKeyAsString:
string | undefined- The key of the nested table as a string, if applicable. - config:
TablePageConfig- The configuration options for the table page.