English
md.render.before
About 195 wordsLess than 1 minute
2025-09-22
Triggered before detail-object rendering.
- Suitable for some detail-object UI initialization logic
Parameters
| Parameter | Description | Type |
|---|---|---|
| objApiName | Current detail-object api_name | String |
| mdBottomComs | Custom components displayed at the bottom of md. The paas-layer components are inserted by default and can be added/removed/modified in the plugin | Array |
Return Value
| Parameter | Description | Type |
|---|---|---|
| filterShowObjectDataList | Synchronous method that filters the data list to be displayed in order for specified business types | Function Array |
| handleOutFields | Synchronous method that handles exposed detail-object fields | Function Array |
| handleSingleButtons | Synchronous method that handles single-row buttons of detail objects | Function Array |
| handleNormalButtons | Synchronous method that handles generic detail-object buttons used for adding detail objects | Function Array |
| handleBatchButtons | Synchronous method that handles detail-object batch buttons | Function Array |
| handleBarButtons | Synchronous method that handles exposed operation-bar buttons of detail objects | Function Array |
Code Examples
Examples include:
- filtering displayed detail-object data
- handling exposed detail-object fields
- handling single-row buttons
- handling generic add buttons
- handling batch buttons
- handling operation-bar buttons
- customizing
mdchildcomponents - adjusting custom components at the bottom of the
mdcomponent
Notes
- Calling
dataUpdaterin this event is not suitable.
