searchPanes.rebuildPane does not remember the pane collapse state

searchPanes.rebuildPane does not remember the pane collapse state

imthenachomanimthenachoman 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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    searchPanes.rebuildPane() takes an optional boolean, than determines whether the rebuild should maintain the existing selections. By default, that's false, but to maintain the values set it to true, something like:

    table.searchPanes.rebuildPane(true);
    

    Colin

Sign In or Register to comment.