Open Data Table Record List
Overview
Display a record list queried based on filter conditions on the client side
Parameter Configuration
| Parameter | Description |
|---|---|
| Dialog Identifier | Unique identifier of the dynamic form window to be opened. Context variables can be used to specify dynamic content |
| Data Table | The data table to which the opened record list belongs |
| Dialog Title | Title content of the dynamic form window to be opened. Context variables can be used to specify dynamic content |
| Dialog Distance from Top | Distance from the top of the display dialog box. Context variables can be used to specify dynamic content |
| Dialog Width | Width of the dialog popup. Supports both pixel and percentage formats |
| Dialog Height | Height of the display dialog box. Context variables can be used to specify dynamic content |
| Selection Mode | Data selection method for table rows, supports None, Single Selection, Multiple Selection |
| Default Selected Record ID List | When selection mode is Single Selection or Multiple Selection, you can set default selected data records |
| Inline Edit Trigger Method | Controls the trigger method when displayed data is editable |
| Table Style | Can set the style of the displayed table, supports multiple selection Option values: Show Serial Number, Show Border, Show Stripes |
| Table Border | Display style of table borders |
| Sub-object Field | Can select a sub-object field in a data table. After setting a sub-object field, the table will be displayed as a tree table |
| Display Complete Tree Structure | Controls whether parent data is returned during record search |
| Default Loading Level | Default loading level of data in the list |
| Default Expansion Level | Default expansion level of data in the list |
| Disallow Selection of Records Meeting Conditions | Use form context variables and calculate whether rows can be selected through expressions |
| Use the Following Fields as Search Criteria | Search condition box displayed in the data list |
| Display the Following Fields | Set data columns displayed in the table |
| Optional Data Filter in Form | Set the range of data lists displayed in the table. Filter conditions can use context variables to specify dynamic content |
| Default Sort | Sorting method of data displayed in the data list |
| Cell Format | Can set table cell format for fields through rules, supports multiple rules |
| Disable Submit Button When the Following Conditions Are Met | Use expressions in custom forms to calculate whether the submit button is disabled |
| Call Automation Before Submit | Call automation before submission. Through pre-validation, if validation fails, the window closing is blocked |
| Input Parameters for Calling Automation Before Submit | Input parameters for calling automation before submission |
Return Value
| Return Value | Type | Description |
|---|---|---|
| Data List | Array<Record> | User-filled or selected list data. The data object properties are the field identifiers |
Usage Instructions
Dialog Height The set dynamic content needs to include size units. For unit ranges, refer here
Dialog Identifier After setting the identifier, you can use getRef in client-side scripts to obtain the current dialog component instance and perform custom operations
Usage Scenarios
- Called from positions such as view toolbar, right-click menu, form, form field, etc., to display data lists that meet conditions
- Dashboard card data interaction, displaying data that meets conditions after clicking
- Associated list, associated record, record lookup list, select non-associated table data, and set to form fields or directly create associated data after selection
Callable Functions
Notes
After setting the Dialog Identifier, you can use getRef in client-side scripts to obtain the current dialog component instance
reloadData
Refresh list data
| Parameter | Type | Description |
|---|---|---|
| reset | boolean | Whether to reset pagination, default false |
javascript
const recordSelectDialog = informat.app.getRef("informatAutomaticRecordSelect");
console.log(recordSelectDialog);
if (recordSelectDialog) {
recordSelectDialog.reloadData();
}close
Close dialog
javascript
const recordSelectDialog = informat.app.getRef("informatAutomaticRecordSelect");
if (recordSelectDialog) {
recordSelectDialog.close();
}
