Skip to main content

DashboardLayoutItem Class

A layout item that displays a dashboard item.

Declaration

export class DashboardLayoutItem extends DashboardLayoutNode

Remarks

To display a dashboard item within a layout item, pass the DashboardItem descendant to the DashboardLayoutNode.dashboardItem property.

The DashboardLayoutNode.weight property allows you to specify the relative size of the created layout item.

constructor

Initializes a new instance of the DashboardLayoutItem class.

Declaration

constructor(
    modelJson?: Object,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson Object
serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.