I’d like to save Pivot table configuration to database through REST service so that its default changes upon next loading. What is the recommended way to implement this? Can the Apply button be overloaded to perform the save?
Hello,
popup fires onApply event on Apply button click:
view: "pivot",
on:{
onPopup: function(popup){
popup.attachEvent("onApply",function( structure){
// your code
});
}
}
setStructure can be used to dynamically change pivot structure:
pivot.setStructure(structure);