You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be extremely useful to have onRefresh working properly, i.e. being triggered when any row/column expansion state changes, and having config list all node paths which are currently expanded (which uniquely describes the state of the pivot). onRefresh is not only useful to save/restore layout, but also immensely helpful when trying to implement server-side pivoting.
ok been looking more closely at this to see why refresh never works - it seems that subtotal is relying on already-saved aggregates made by the main code which aren't made again on a direct refresh, or perhaps aren't made in time - whatever the main code is doing to make the aggregates, subtotal has to re-do that on refresh and wait for the data to be aggregated first.
Can I save state on which row is expanded ?
I am using this to save config
onRefresh: function (config) {
var config_copy = JSON.parse(JSON.stringify(config));
$("#output2").text(JSON.stringify(config_copy, undefined, 2)); }
it works to save other items but it does not output which row is expanded...
is there something similar on subtotal js/renderer ?
Thanks
The text was updated successfully, but these errors were encountered: