I have a pqgrid with the pivot feature.
However it fails when loading the grid with the state maintenance (
https://paramquery.com/pro/demos/grid_state).
It looks "this.panes" is not initialized when calling the method.
Any idea?
22794 setAttrPanes: function() {
22795 this.$ele.attr("panes", this.panes.filter(function($ele) {
22796 return $ele.is(":visible")
22797 }).length)
22798 }
Uncaught TypeError: Cannot read property 'filter' of undefined
at _pq.cToolPanel.setAttrPanes (pqgrid.dev.js:22795)
at _pq.cToolPanel.showHideColPane (pqgrid.dev.js:22819)
at _pq.cToolPanel.setHtml (pqgrid.dev.js:22773)
at _pq.cToolPanel.refresh (pqgrid.dev.js:22717)
at _pq.cToolPanel.onGroupOption (pqgrid.dev.js:22643)
at handleListeners (pqgrid.dev.js:791)
at $.<computed>.<computed>._pq._trigger (pqgrid.dev.js:836)
at _pq.cGroup.option (pqgrid.dev.js:15838)
at _pq.cGroup.option (pqgrid.dev.js:22358)
at $.<computed>.<computed>.fn.loadState (pqgrid.dev.js:8784)