Hi maria,
thank you for replying .
I am using below code but getting Uncaught TypeError: Cannot read property ‘apply’ of undefined exception on console .
kindly guide me how can i get row ,column value after click on apply button
function doSomething(popup){
var rows = popup.$$("rows");
var fields = popup.$$("fields");
var filters = popup.$$("filters");
var columns = popup.$$("columns");
alert(rows);
}
$$("pivot").attachEvent("onPopup", function(popup){
popup.attachEvent("onApply", doSomething);
});
function doSomething(structure){
// 'this' refers to popup here
var rows = this.$$("rows");
var fields = this.$$("fields");
var filters = this.$$("filters");
var columns = this.$$("columns");
alert(rows);
}