New to Kendo UI for jQuery? Start a free 30-day trial

Schema

configuration

The schema configuration of the PivotDataSourceV2.

schema

Object
<script>
var dataSource = new kendo.data.PivotDataSourceV2({
  type: "odata",
  transport: {
    read: "/odata/SalesData"
  },
  schema: {
    cube: {
      dimensions: {
        "ProductName": { caption: "Product Name" },
        "Category": { caption: "Category" }
      },
      measures: {
        "TotalSales": { field: "TotalSales", aggregate: "sum" }
      }
    }
  }
});
</script>

The cube declaration. If configured, this option will enable the client cube processing that is useful for binding to flat data.

Only applicable if client cube processing is used. Necessary when binding the Pivot to data of type "odata".

In this article
schemaschema.cube
Not finding the help you need?
Contact Support