Skip to content

Print Record Form

Feature Description

Print a single data table record in the form of a form

Parameter Settings

Configuration ItemDescription
Data TableData table type
Hidden FieldsFields to be hidden in the print page
Record IDRecord ID to be printed
Page TitleTitle of the print page

Example

In the data table module, if we have a need to print a single record, we can add a print function button through the control. In the employee information module, clicking the print button on the form page can print the current data in the form of a table.

To configure the above print button, you need to add a button in the form toolbar, select Print Record Form for the operation setting, and select the data table to which the data belongs in the Data Table configuration item. In this case, we select "Employee Information". Enter the ID of the record to be printed in the Record ID configuration item. In this case, the ID of the current form record is obtained through an expression. If you need to hide some fields in the print page, you can configure them through the Hidden Fields configuration. In the Page Title configuration item, you can set the title of the print page. In this case, the print title format is set through an expression as: Name—Employee Information. The configuration method is shown in the following figure: