English
setTrsCss
About 63 wordsLess than 1 minute
2025-12-15
bizApi.setTrsCssA(rowId, style)
Sets the style of a table row
Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| rowId | Row ID of the detail-object data | String | Yes |
| style | Style | Object | Yes |
Return Value
None
Basic Example
Set a red background
export default class Plugin {
apply() {
return [{
event: 'form.render.after',
functional: this.formRendereAfter.bind(this)
}]
}
formRendereAfter(context, plugin) {
context.bizApi.setTrsCss('1711334884102226', {background: 'red'});
}
}