Data Details
Latest Update:Jul 21, 2023, 11:40:00
Scenarios
Applicable for querying a single piece of data from a data source and displaying it on a details page, which can directly render the details of a single piece of data.
Basic Function
Data Display
The data details can be displayed as text components, showing data from various fields found in the data model, achieving a quick display of details.
Data Usage and Presentation
The data details serve as a data provider, and all the fields returned by binding data under this data model can be automatically rendered using a template. The specific usage is as follows:
After delete the unnecessary data, then can quickly set up the detail page.
Requirements for Calling APIs
When calling APIs, the input and output of the calling method must meet the following conditions, otherwise, it will not be displayed correctly.⚠️
Property Introduction
Properties received from external input for the component
Property Name | Property Description |
---|---|
Template | Users can adjust different templates based on their actual usage, and templates can be customized as needed |
Date Source | Users can adjust it according to the data source they are using, either by using the data source provided by the data model or the one provided by an API |
Static Data | Users can adjust it according to the data source they are using, either by using the data source provided by the data model or the one provided by an API |
Data Model | When using a data source provided by the data model, users need to select a data model |
Data Filtering | Filtering for displaying data, a popup expression design window |
Items per Page | Set the number of items to display per page, which is the default value |
No Data Prompt | Content to be displayed when there is no data |
Loading to Bottom Prompt | Content to be displayed when data has loaded to the bottom |