Created
June 23, 2015 07:03
-
-
Save lohithgn/4ac2d025eb14886da79c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function () { | |
$("#pivotgrid").kendoPivotGrid({ | |
height: 200, | |
dataSource: { | |
type: "xmla", | |
columns: [{ name: "[Date].[Calendar]" }], | |
rows: [{ name: "[Product].[Category]" }], | |
measures: ["[Measures].[Internet Sales Amount]"], | |
transport: { | |
connection: { | |
catalog: "Adventure Works DW 2008R2", | |
cube: "Adventure Works" | |
}, | |
read: { | |
url: "http://demos.telerik.com/olap/msmdpump.dll", | |
dataType: "text", | |
contentType: "text/xml", | |
type: "POST" | |
} | |
}, | |
schema: { | |
type: "xmla" | |
}, | |
} | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment