dashboard-js-devexpress-dot-dashboard-dot-designer-90c0da68.md
A Web Dashboard extension that allows you to edit Text Box item content.
export class TextBoxItemEditorExtension extends DisposableObject implements ISupportOptionExtension<TextBoxItemEditorExtensionOptions>
The following topic shows how to enable Text Editor functionality on different platforms: Enable Text Editor Functionality.
When registered, TextBoxItemEditorExtension adds the Edit Text button that invokes the Rich Text Editor (RichEdit). The button is available in two locations:
The dashboard item’s Options menu The data item’s menu
To configure and customize the extension, refer to the TextBoxItemEditorExtensionOptions class that contains options of the Text Box extension.
See the following topic for information on how to use the DashboardControl’s client-side API: Extensions Overview.
ISupportOptionExtension
DisposableObject TextBoxItemEditorExtension
Initializes a new instance of the TextBoxItemEditorExtension class with specified settings.
constructor(
dashboardControl: DevExpress.Dashboard.DashboardControl,
options?: TextBoxItemEditorExtensionOptions
)
| Name | Type | Description |
|---|---|---|
| dashboardControl | DashboardControl |
A Web Dashboard control that owns the extension.
| | options | TextBoxItemEditorExtensionOptions |
Options of the underlying RichEdit widget used in the Text Box dashboard item.
|
Specifies the unique extension name.
name: string
| Type | Description |
|---|---|
| string |
The unique extension name. The return value is ‘textBoxItemEditor’.
|
Warning
Do not change the unique name of the extension registered in the Web Dashboard to avoid exceptions.
Unsubscribes from TextBoxItemEditorExtension events.
off: DevExpress.Dashboard.Internal.EventSubscriber<TextBoxItemEditorExtensionEvents>
| Type | Description |
|---|---|
| EventSubscriber<TextBoxItemEditorExtensionEvents> |
An event subscription.
|
Subscribes to TextBoxItemEditorExtension events.
on: DevExpress.Dashboard.Internal.EventSubscriber<TextBoxItemEditorExtensionEvents>
| Type | Description |
|---|---|
| EventSubscriber<TextBoxItemEditorExtensionEvents> |
An event subscription.
|
The extension’s on and off methods help you subscribe to and unsubscribe from events.
Contains code that is executed when you register the dashboard extension.
start(): void
Contains code that is executed when you unregister the dashboard extension.
stop(): void