toggle

Toggles the visibility of the related configurator

Example - refresh the widget

<div id="configurator"></div>
<div id="pivotbutton"></div>
<script>
$("#configurator").kendoPivotConfiguratorV2({
    dataSource: {
        type: "xmla",
        columns: [{ name: ['[Date].[Calendar]'], expand: true },
        { name: ['[Product].[Category]'] }],
        rows: [{ name: ['[Geography].[City]'], expand: true }],
        measures: [{ name: ['[Measures].[Reseller Freight Cost]'] }],
        transport: {
            connection: {
                catalog: "Adventure Works DW 2008R2",
                cube: "Adventure Works"
            },
            read: 'https://demos.telerik.com/olap/msmdpump.dll'
        }
    },
    filterable: true,
    sortable: true,
    height: 580
});

$("#pivotbutton").kendoPivotConfiguratorButton({
    configurator: "configurator"
});

$("#pivotbutton").getKendoPivotConfiguratorButton().toggle();
</script>
In this article