Skip to content

Open Data Table Record List

Overview

Display a record list queried based on filter conditions on the client side

Parameter Configuration

ParameterDescription
Dialog IdentifierUnique identifier of the dynamic form window to be opened. Context variables can be used to specify dynamic content
Data TableThe data table to which the opened record list belongs
Dialog TitleTitle content of the dynamic form window to be opened. Context variables can be used to specify dynamic content
Dialog Distance from TopDistance from the top of the display dialog box. Context variables can be used to specify dynamic content
Dialog WidthWidth of the dialog popup. Supports both pixel and percentage formats
Dialog HeightHeight of the display dialog box. Context variables can be used to specify dynamic content
Selection ModeData selection method for table rows, supports None, Single Selection, Multiple Selection
Default Selected Record ID ListWhen selection mode is Single Selection or Multiple Selection, you can set default selected data records
Inline Edit Trigger MethodControls the trigger method when displayed data is editable
Table StyleCan set the style of the displayed table, supports multiple selection
Option values: Show Serial Number, Show Border, Show Stripes
Table BorderDisplay style of table borders
Sub-object FieldCan 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 StructureControls whether parent data is returned during record search
Default Loading LevelDefault loading level of data in the list
Default Expansion LevelDefault expansion level of data in the list
Disallow Selection of Records Meeting ConditionsUse form context variables and calculate whether rows can be selected through expressions
Use the Following Fields as Search CriteriaSearch condition box displayed in the data list
Display the Following FieldsSet data columns displayed in the table
Optional Data Filter in FormSet the range of data lists displayed in the table. Filter conditions can use context variables to specify dynamic content
Default SortSorting method of data displayed in the data list
Cell FormatCan set table cell format for fields through rules, supports multiple rules
Disable Submit Button When the Following Conditions Are MetUse expressions in custom forms to calculate whether the submit button is disabled
Call Automation Before SubmitCall automation before submission. Through pre-validation, if validation fails, the window closing is blocked
Input Parameters for Calling Automation Before SubmitInput parameters for calling automation before submission

Return Value

Return ValueTypeDescription
Data ListArray<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

ParameterTypeDescription
resetbooleanWhether 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();
}