The base class for all dashboard widget components.
The following tables list the members exposed by the DashboardWidget type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the DashboardWidget class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets or sets the name of the CSS class of this widget. |
|
![]() |
Gets the parent Dashboard model for this widget.This property is set automatically when the widget is added to a dashboard. |
|
![]() |
Gets or sets the path within the data source to extract the relevant value. |
|
![]() |
Gets or sets the ID of the data source this widget is bound to. |
|
![]() |
Gets or sets the string identifier of this widget. |
|
![]() |
Gets or sets options for generating mock data for this widget. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Creates the internal control of the widget, if there is any.Subclasses can override this method to create their specific content. |
|
![]() |
Disposes the internal control of the widget, if there is any.Subclasses can override this method to add their specific dispose logic. |
|
![]() |
Creates the DOM structure of the widget.Subclasses should override this method to create their specific content. |
|
![]() |
Deserializes the widget properties from a JSON object. |
|
![]() |
Creates the meta data dictionary that contains the editable properties of the widget.Subclasses can override this method to create their specific meta data. |
|
![]() |
Notifies the parent dashboard that this widget needs to be refreshed. |
|
![]() |
Refreshes a DOM view of the widget with the latest data and properties.Subclasses should override this method to update their specific content. |
|
![]() |
Serializes the widget properties into a JSON-compatible object. |
See Also