Hi Flexmonster support team,
I am using a trial version of 2.4 version of Pivot control. When I run solution from Visual Studio I can see the control being populated with SSAS Cube data.
When I mount the same application to IIS as a web application, I get a JavaScript error '$' is undefined for the following code.
var pivot = $("#pivotContainer").flexmonster({
toolbar: true,
report: {
dataSource: {
dataSourceType: "microsoft analysis services",
Could You please help me to troubleshoot this issue?
Hi Amit,
It looks like you experiencing a migration issue. jQuery is not necessary for the new version and it is not included into HTML in download package by default. So you have two ways to resolve the issue.
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="flexmonster/flexmonster.js"></script>
instead of
<script type="text/javascript" src="flexmonster/flexmonster.js"></script>
var pivot = new Flexmonster({
container: "#pivotContainer",
toolbar: true,
report: {
dataSource: {
dataSourceType: "microsoft analysis services"
}
}
});
Please find more information about migration here: http://www.flexmonster.com/doc/migration-guide-from-2-3-to-2-4/
Does it work for you?
Regards,
Roman
Thanks Roman that helped