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
305
retrieve the selected rows and columns from a pivotview
posted

I'd like to get the current selected data options like columns, rows,measures and filters on the client side. when I interigate the datasourceoptions the values are always null.

the code I've tried is below.

Also I'm using a remotedatasource, and I was wondering if there was an event or a way to grab the mdx that is being sent to the olap server.

thanks for the info..

the code I've tried for retrieving the options are below:

var dataSelector = $("#pivotView").igPivotView("dataSelector");

 

var ds = $("#pivotView").igPivotView("option", "dataSourceOptions");

alert(ds);

alert(ds.xmlaOptions.cube);