i want to store values of selected columns in a java script variable.
Hello,
pivot.getStructure() returns selected structure:
var pivotStructure= webix.copy(pivot.getStructure());
Pivot fires onApply method event of popup on “Apply” button click:
// fires when popup created
pivot.attachEvent("onPopup", function(popup){
// fires on "Apply" click
popup.attachEvent("onApply", function(structure){
pivotStructure = webix.copy(structure);
});
});
how to get selected values of columns only from the pivot table.
getStructure returns the json object with all configuration, just read and store only the necessary part of it.