Skip to main content

CardRowDataElement Class

A card element that displays bound data.

#Declaration

TypeScript
export class CardRowDataElement extends CardRowTextElementBase

#Remarks

Use the CardRow.Elements property to access a row’s elements. Refer to the CardLayoutTemplate class description to learn how to manage the layout of cards in the CardItem.

#constructor

Initializes a new instance of the CardRowDataElement 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

#dimensionIndex Property

#Declaration

TypeScript
dimensionIndex: ko.Observable<number>

#Property Value

Type
Observable<number>

#title Property

#Declaration

TypeScript
title: ko.Computed<string>

#Property Value

Type
Computed<string>

#valueType Property

#Declaration

TypeScript
valueType: ko.Observable<string>

#Property Value

Type
Observable<string>

#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.