PivotDataSourceSchemaSettingsTagHelper
Example
Razor
<schema>
<cube></cube>
<model></model>
</schema>
ChildTags
Tag Name | Details |
---|---|
cube | PivotDataSourceSchemaCubeTagHelper |
model | DataSourceSchemaSettingsTagHelper |
Attributes
Attribute | Type | Description |
---|---|---|
aggregates | String | The field from the response which contains the aggregate results. Can be set to a function which is called to return the aggregate results from the response.The result of the function should be a JavaScript object which contains the aggregate results for every field in the following format:For example, if the data source is configured like this:The aggregate results should have the following format: |
aggregates-handler | String | The field from the response which contains the aggregate results. Can be set to a function which is called to return the aggregate results from the response.The result of the function should be a JavaScript object which contains the aggregate results for every field in the following format:For example, if the data source is configured like this:The aggregate results should have the following format: |
axes | String | |
axes-handler | String | |
catalogs | String | |
catalogs-handler | String | |
cube | PivotDataSourceSchemaCubeTagHelper | |
cubes | String | |
cubes-handler | String | |
data | String | The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response. |
datahandler | String | |
dimensions | String | |
dimensions-handler | String | |
errors | String | The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the error event will be fired. |
errors-handler | String | The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the error event will be fired. |
groups | String | The field from the server response which contains the groups. Can be set to a function which is called to return the groups from the response.The result should have the following format: |
groups-handler | String | The field from the server response which contains the groups. Can be set to a function which is called to return the groups from the response.The result should have the following format: |
hierarchies | String | |
hierarchies-handler | String | |
levels | String | |
levels-handler | String | |
measures | String | |
measures-handler | String | |
parse | String | Executed before the server response is used. Use it to preprocess or parse the server response. |
total | String | The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response. |
total-handler | String | The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response. |
type | String | The type of the response.The supported values are: "xml" or "json". By default, the schema interprets the server response as JSON. |