schemaObject

The schema configuration of the PivotDataSourceV2.

Example

<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>
In this article
schemaRelated Properties
Not finding the help you need?
Contact Support