ContextItem Class
#Declaration
TypeScript
export class ContextItem extends SerializableModel
#Inheritance
SerializableModel
ContextItem
#constructor
Initializes a new instance of the ContextItem
class.
#Declaration
TypeScript
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 | Model |
An object used for dashboard deserialization. Do not pass this parameter directly. |
#Properties
#id Property
#Declaration
TypeScript
id: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#source Property
#Declaration
TypeScript
source: ko.Observable<DevExpress.Dashboard.Model.DataSource>
#Property Value
Type |
---|
Observable<Data |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |