English
list.render.before
About 165 wordsLess than 1 minute
2025-12-16
Triggered before the list page is rendered. At this point, the object layout description data has already been retrieved.
- Modify layout description data
- Modify the title
Parameters
| Parameter | Description | Type |
|---|---|---|
| listHeaderRst | Return value of the ListHeader interface. It can be directly modified in the plugin | Object |
Return Value
| Parameter | Description | Type |
|---|---|---|
| title | Modified title. If empty, the default title is used | String |
| handleButtons | Processing function for generic list buttons (floating buttons in the bottom-right corner) | Function |
| refreshUiWhenAfterSearch | Trigger list data UI refresh after returning from search | Boolean |
| fixedComponents | Registers popup-type components | Array |
| defaultSelectTab | Specifies the default selected list in selection-list scenarios. geo means nearby list | String |
| cssMap | Set of custom list CSS styles | Map |
Code Example
Modify the title bar text
{
event: "list.render.before",
functional: function (pluginExecResult, options) {
return {
title: "Title modified by plugin",
}
}
}Process generic list buttons
The plugin can add or remove generic buttons and configure record-type white/black lists for the create button.
