Table
Element for displaying records from the database
Last updated
Element for displaying records from the database
Last updated
Model - data model for the table.
Endpoint - data source for the table.
Title (not mandatory) - table title.
Width (mandatory) - table width.
Style (mandatory) - table row size.
Pagination (mandatory) - turning pagination on and off. Turned on by default.
Page size (not mandatory) - rows per page.
Border (mandatory) - table borders.
Name (mandatory) - name of the table.
Visible (mandatory) - makes the table visible if turned on. Enabled by default.
In this section you can manage table columns.
onCreate – fires when the component is created on the page;
onShow – fires when the component changes its state to visible (displayed on the page);
onHide – fires when the component changes its state to hidden (stops being displayed);
onDestroy – fires when the component is destroyed;
onDataUpdate – fires by the Table Update Data block;
onRowClick – fires by clicking on a row;
onRowDoubleClick – fires by double-clicking on a row;
onFilter – fires when the table is paginated;
Gets the table properties.
Input parameters:
Component Id [string] - table component's identifier.
Output parameters:
Title [string] - table title;
Style [enum] - table style;
Pagination [boolean] - state of pagitation;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading;
Current page [integer] - current table page;
Records per page [integer] - number of records per table page;
Total records [integer] - total number of records in the table.
Sets the table properties.
Input parameters:
Component Id [string] - table component's identifier;
Title [string] - table title;
Style [enum] - table style;
Pagination [boolean] - state of pagitation;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading;
Current page [integer] - current table page;
Records per page [integer] - number of records per table page;
Total records [integer] - total number of records in the table.
Update the table properties.
Input parameters:
Component Id [string] - table component's identifier;
Title [string] - table title;
Style [enum] - table style;
Pagination [boolean] - state of pagitation;
Bordered [boolean] - state of border;
Visible [boolean] - state of visible;
Loading [boolean] - state of loading;
Current page [integer] - current table page;
Records per page [integer] - number of records per table page;
Total records [integer] - total number of records in the table.
Gets table data
Input parameters:
Component Id [string] - table component's identifier.
Output parameters:
Data [model] - data from table. To be showed in the business process when Component ID is specified only;
_limit [integer] - the maximum possible number of entries in the table;
_offset [integer] - offset of the current record relative to the first record.
Update table data
Input parameters:
Component Id [string] - table component's identifier.
Data [model] - data from table. To be showed in the business process when Component ID is specified only;
_limit [integer] - the maximum possible number of entries in the table;
_offset [integer] - offset of the current record relative to the first record.
Clear table data
Input parameters:
Component Id [string] - table component's identifier.