English
refresh
About 72 wordsLess than 1 minute
2026-6-9
Synchronous method
Purpose
Refreshes the current list.
Signature
context.bizApi.refresh()Parameters
None.
Return Value
void. This method refreshes the table data and the active view, but it does not return the list request Promise or the refreshed data.
Basic Example
export default class Plugin {
apply() {
return [{
event: 'list.render.before',
functional: this.renderBefore.bind(this)
}];
}
renderBefore(context, plugin) {
return {
buttons: {
add: [{
action: 'refreshList',
label: 'Refresh List',
callback() {
context.bizApi.refresh();
}
}]
}
};
}
}