
The UI Table provides the following capabilities:
*Coming soon!
Drag a new table component from the Form Designer Toolbox and drop on the form layout.
![]()

UI Table fields are only accessible in Client Events Advanced Script Actions. They are accessed by using the $current object dotted to the name of the UI Table.
Below is a list of methods that can be used on a UI Table.
This method is used to add a new display record/row to the UI Table.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| record | object | Yes | POJO representing the data row to add |
Returns: Numeric value representing the number of records/rows in the UI Table.
// In this example we have a table on the UI Layout with a name of 'tblAuditAssets'
const rNewRecord = {
[BaseFields.ID]: $ps.uid()
};
$current.tblAuditAssets.addRecord(rNewRecord);
This method is used to determine the number of records currently displayed in the UI Table.
Returns: Numeric value representing the number of records/rows in the UI Table.
Returns records in the Ui Table that have are dirty due to use of addRecord or updateRecord
Returns: Array of records that are detected as dirty.
Returns a record row from the table based on it's UUID
Parameters:
Returns: The Record from the UI Table data that matches the requested id.
Returns the 1st record row from the table matching the query criteria.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| query | object | Yes | A POJO object representing the query to match to |
Returns: The first mayching Record from the UI Table data.
Returns array of UUIDs representing the currently selected rows in the UI Table.
Returns array of UUIDs representing the rows in the UI table that are not selected.
Returns: Array of records that are detected as dirty.
Returns a record row from the table based on it's UUID
Parameters:
Returns: The Record from the UI Table data that matches the requested id.
Triggers a refresh of the UI Table once the current Client Event cycle is complete.
Query the UI Table data for records matching the query object. Returns an array of matching records.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| query | object | Yes | A POJO object representing the query to match to |
Returns: Record[] of matching records from the UI Table data.
Update the UI table's query and optionally run the query.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| encodedQuery | string | Yes | Encoded query to set |
| executeQuery | boolean | No | Execute the encoded query for the UI table |
Returns: Boolean true if the query was successful.
Places select markers on all the rows in a UI table.
Removes all selection markers on rows in a UI table.
Update an existing record row in the UI Table.
Returns an object with all aggregate method results.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: A TableAggregateResult object enumerating the result of all aggregate functions.
Returns the Average of numeric values for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns a Count of the number of record rows containing a value for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the Maximum numeric value for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the Mean (Average) of numeric values for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the Median numeric value for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the most common number (Mode) that appears in the numeric values for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the Minimum numeric value for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number
Returns the Sum of numeric values for a column.
Parameters:
| Name | Datatype | Required | Description |
|---|---|---|---|
| columnName | string | Yes | Name of the UI Table Column |
Returns: Number