All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DataItemContainer Class

Serves as the base class for data item containers.

Declaration

export abstract class DataItemContainer extends TypedSerializableModel implements IBindingModelProvider, ICustomPropertiesProvider

Remarks

In most scenarios, dashboard items use collections of data items (DataItem) to define their data bindings. In more advanced cases, dashboard items require a collection of data item sets (pairs) to bind to data. For instance, dashboard items that calculate the difference between two measurements need a collection of measurement pairs.

These data item sets are represented by the DataItemContainer class descendants.

The image below shows the Sales vs Target data item container that calculates difference between two measures - Sales and SalesTarget:

Inherited Members

Inheritance

Properties

customProperties Property

Gets custom properties available for the current data item container.

Declaration

customProperties: CustomProperties

Property Value

Type Description
CustomProperties

A CustomProperties object that provides access to the data item container's custom properties.

Remarks

TIP

Documentation: Custom Properties

See Also

name Property

Declaration

name: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type
ISerializationInfoArray

grabFrom(dataItemContainer) Method

Declaration

grabFrom(dataItemContainer: DataItemContainer): void

Parameters

Name Type
dataItemContainer DataItemContainer