Skip to main content
A newer version of this page is available. .

CardRowDataElement Class

A card element that displays bound data.

Declaration

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.

Inheritance

constructor

Initializes a new instance of the CardRowDataElement class.

Declaration

constructor(
    modelJson?: any,
    serializer?: 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

dimensionIndex: ko.Observable<number>

Property Value

Type
Observable<number>

title Property

Declaration

title: ko.Computed<string>

Property Value

Type
Computed<string>

valueType Property

Declaration

valueType: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.