schemaHierarchies
Requests the hierarchies schema information.
Parameters
dimensionName String
The name of the dimensions which is the "owner" of the hierarchy.
Returns
Object
—The deferred object.
Example
<script>
var dataSource = new kendo.data.PivotDataSource({
type: "xmla",
transport: {
connection: {
catalog: "Adventure Works DW 2008R2"
},
read: "https://demos.telerik.com/olap/msmdpump.dll"
},
schema: {
type: "xmla"
}
});
var dimensionName = "[Customer]";
dataSource.schemaHierarchies(dimensionName)
.done(function(dimensions) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(dimensions);
});
</script>