Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Export igPivotView with $.ig.GridExcelExporter
posted

Given that igPivotView is made up of an igPivotGrid which in turn uses an igGrid to render the OLAP data I was hoping to use the $.ig.GridExcelExporter to export the data.

Unfortunately I've not found the right combination of code to do so.

I was hoping that something like this would work:

var pivotGrid = $(#pivotView").igPivotView("pivotGrid");
var grid = $(pivotGrid).igPivotGrid("grid");
$.ig.GridExcelExporter.exportGrid($(grid), { fileName: "igGrid" });

However the error I receive is "cannot call methods on igPivotGrid prior to initialization; attempted to call method 'grid'"

Can anyone help?


Parents
No Data
Reply Children