The data source of the widget. Configured via the dataSource option.

Changes of the data source will be reflected in the widget.

Assigning a new data source would have no effect. Use the setDataSource method instead.

Example - get reference to the widget data source

<div id="configurator"></div>
    dataSource: {
        type: "xmla",
        columns: [{ name: "[Date].[Calendar]", expand: true }, { name: "[Geography].[City]" } ],
        rows: [{ name: "[Product].[Product]" }],
        measures: ["[Measures].[Internet Sales Amount]"],
        transport: {
            connection: {
                catalog: "Adventure Works DW 2008R2",
                cube: "Adventure Works"
            discover: {
                url: "",
                dataType: "text",
                contentType: "text/xml",
                type: "POST"
        schema: {
            type: "xmla"

//get reference to the widget data source
var dataSource = $("#configurator").data("kendoPivotConfigurator").dataSource;
In this article