DataItem Class
Declaration
export abstract class DataItem extends TypedSerializableModel implements IDashboardComponent
DataItem serves as a base class and exposes the following descendants:
See Also
constructor
Initializes a new instance of the DataItem
class.
Declaration
constructor(
dataItemJSON?: any,
serializer?: DxDesigner.Analytics.Utils.IModelSerializer
)
Parameters
Name |
Type |
dataItemJSON |
any |
serializer |
DxDesigner.Analytics.Utils.IModelSerializer |
Properties
dataMember Property
Declaration
dataMember: KnockoutObservable<string>
Property Value
dateTimeFormat: DataItemDateTimeFormat
name Property
Declaration
name: KnockoutObservable<string>
Property Value
numericFormat: DataItemNumericFormat
showGrandTotals Property
Declaration
showGrandTotals: KnockoutObservable<boolean>
Property Value
showTotals Property
Declaration
showTotals: KnockoutObservable<boolean>
Property Value
showValues Property
Declaration
showValues: KnockoutObservable<boolean>
Property Value
typesMap Property
Declaration
static typesMap: {
Integer: string;
Float: string;
Double: string;
Decimal: string;
DateTime: string;
Text: string;
String: string;
Bool: string;
Boolean: string;
}
Property Value
Name |
Type |
Bool |
string |
Boolean |
string |
DateTime |
string |
Decimal |
string |
Double |
string |
Float |
string |
Integer |
string |
String |
string |
Text |
string |
uniqueName Property
Declaration
uniqueName: KnockoutObservable<string>
Property Value
Methods
getInfo Method
Declaration
getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo
Returns
Type |
Description |
DxDesigner.Analytics.Utils.ISerializationsInfo |
|
getUniqueNamePrefix Method
Declaration
getUniqueNamePrefix(): string
Returns
grabFrom(dataItem) Method
Declaration
grabFrom(
dataItem: DataItem
): void
Parameters
Name |
Type |
dataItem |
DataItem |
isDefinitionEquals(dataItem) Method
Declaration
isDefinitionEquals(
dataItem: DataItem
): boolean
Parameters
Name |
Type |
dataItem |
DataItem |
Returns