<divid="pivotgrid"></div><script>$("#pivotgrid").kendoPivotGrid({height:550,dataBound:function(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log("data bound");},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"},read:{url:"https://demos.telerik.com/service/v2/olap/msmdpump.dll",dataType:"text",contentType:"text/xml",type:"POST"}},schema:{type:"xmla"}}});</script>
<divid="pivotgrid"></div><script>functiondataBound(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log("data bound");}$("#pivotgrid").kendoPivotGrid({height:550,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"},read:{url:"https://demos.telerik.com/service/v2/olap/msmdpump.dll",dataType:"text",contentType:"text/xml",type:"POST"}},schema:{type:"xmla"}}});var pivotgrid =$("#pivotgrid").data("kendoPivotGrid");
pivotgrid.bind("dataBound", dataBound);</script>