Skip to main content

LookUpValue Class

Look-up values used in the dashboard parameters.

#Declaration

TypeScript
export class LookUpValue extends TypedSerializableModel

#Inherited Members

#constructor

Initializes a new instance of the LookUpValue class.

#Declaration

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

#Parameters

Name Type Description
modelJson 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

#value Property

Specifies a look-up value.

#Declaration

TypeScript
value: ko.Observable<string>

#Property Value

Type Description
Observable<string>

A string that is a look-up value.

#valueType Property

Specifies a look-up value type.

#Declaration

TypeScript
valueType: ko.Observable<string>

#Property Value

Type Description
Observable<string>

A string that is a dashboard parameter type.

#Methods

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.