Setting.addDisplayValue method
Setting › addDisplayValue
Official
Add a read-only display value to the row. On a navigable row, this surfaces the value edited on the page the row opens, so the user can see it without opening that page.Signature:
addDisplayValue(cb: (component: DisplayValueComponent) => unknown): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (component: DisplayValueComponent) => unknown | The callback to add the display value component. |
Returns: this — The setting.
Since: 1.13.1
Example:
setting.addDisplayValue((displayValue) => { displayValue.setValue('foo');});