XpoDataSource Class
In This Article
Retrieves data from XPO (eXpress Persistent Objects).
#Declaration
TypeScript
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
#Inheritance
SerializableModel
TypedSerializableModel
DataSource
XpoDataSource
#constructor
Initializes a new instance of the XpoDataSource
class.
#Declaration
TypeScript
constructor(
dataSourceJSON?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
data |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
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
TypeScript
getDisplayNamePrefix(): string
#Returns
Type | Description |
---|---|
string | A string that is the display name of the current data source. |
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |