Back to Devexpress

ItemWidgetEventArgs Interface

dashboard-js-devexpress-dot-dashboard-0171c4fd.md

latest3.1 KB
Original Source

ItemWidgetEventArgs Interface

Provides data for events related to client widgets used to visualize data in dashboard items.

Declaration

ts
export interface ItemWidgetEventArgs extends ItemWidgetBaseEventArgs

Remarks

The Web Dashboard uses DevExtreme widgets to visualize data within dashboard items. The ViewerApiExtensionOptions.onItemWidgetUpdated, ViewerApiExtensionOptions.onItemWidgetCreated, and ViewerApiExtensionOptions.onItemWidgetOptionsPrepared handlers allow you to access these widgets and customize their settings if necessary.

Inherited Members

chartContext

dashboardItem

gaugeContext

gridContext

itemData

itemName

Inheritance

DashboardItemBaseEventArgs ItemWidgetBaseEventArgs ItemWidgetEventArgs

Properties

getWidget Property

Gets an underlying widget corresponding to the current dashboard item.

Declaration

ts
getWidget: () => DevExpress.ui.Widget<any> | Element

Property Value

TypeDescription
() => any

An underlying widget or an array of widgets.

|

Remarks

See Component Configuration Syntax topic for information on how to work with the obtained widget.

Note

The getWidget property can return an array of widgets for some dashboard items: