searchPanes.rebuildPane does not remember the pane collapse state
searchPanes.rebuildPane does not remember the pane collapse state
imthenachoman
Posts: 4Questions: 2Answers: 0
If you change the pane collapse state, and then use searchPanes.rebuildPane(...)
, it will revert eh pane to whatever it was on load.
Is there a way to get it to respect the collapse state of the pane?
Answers
searchPanes.rebuildPane()
takes an optional boolean, than determines whether the rebuild should maintain the existing selections. By default, that'sfalse
, but to maintain the values set it totrue
, something like:Colin