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.PivotDataSource({
  type: "xmla",
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2"
    },
    read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll"
  },
  schema: {
    type: "xmla"
  }
});
var hierarchyName = "[Georgaphy].[City]";
dataSource.schemaLevels(hierarchyName)
    .done(function(levels) {
/* The result can be observed in the DevTools(F12) console of the browser. */
        console.log(levels);
    });
</script>In this article