ContextItem Class

Declaration

export class ContextItem extends SerializableModel

constructor

Initializes a new instance of the ContextItem class.

Declaration

constructor(json?: any, serializer?: DevExpress.Analytics.Utils.ModelSerializer)

Parameters

Name Type Description
json any

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

serializer ModelSerializer

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

Properties

id Property

Declaration

id: ko.Observable<string>

Property Value

Type
Observable<string>

source Property

Declaration

source: ko.Observable<DataSource>

Property Value

Type
Observable<DataSource>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.