Skip to main content

ContextItem Class

Declaration

export class ContextItem extends SerializableModel

Inherited Members

Inheritance

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<DevExpress.Dashboard.Model.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.