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

XpoDataSource Class

Retrieves data from XPO (eXpress Persistent Objects).

Declaration

export class XpoDataSource extends DataSource

Remarks

The DashboardXpoDataSource allows you to obtain data that XPO ((eXpress Persistent Object) retrieves from a data source.

Inherited Members

DevExpress.Dashboard.Model.OlapDataSource.calculatedFields
DevExpress.Dashboard.Model.OlapDataSource.componentName
DevExpress.Dashboard.Model.OlapDataSource.filter
DevExpress.Dashboard.Model.OlapDataSource.hasCalculatedFields
DevExpress.Dashboard.Model.OlapDataSource.hasFilter
DevExpress.Dashboard.Model.OlapDataSource.name
DevExpress.Dashboard.Model.OlapDataSource.supportDataMembers
DevExpress.Dashboard.Model.OlapDataSource.getJson
DevExpress.Dashboard.Model.OlapDataSource.getUniqueNamePrefix

constructor

Initializes a new instance of the XpoDataSource class.

Declaration

constructor(
    dataSourceJSON?: any,
    serializer?: ModelSerializer
)

Parameters

Name Type Description
dataSourceJSON 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.

Methods

getDisplayNamePrefix Method

Gets the display name of the current data source.

Declaration

getDisplayNamePrefix(): string

Returns

Type Description
string

A string that is the display name of the current data source.

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.