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