Is there any way to set filter pane collapsed by default in modal popup?

Comments

4 comments

  • Avatar
    Michael Becker

    Hi Andrew,

    in jumpToDashboard folder there is folder js. Within it you have file config.js, and in there you can setup behavior of the plugin and that includes hiding/showing all panes. https://support.sisense.com/hc/en-us/community/posts/221225408-Consolidated-Jump-To-Dashboard-Plugin- - in this post there is a section called Configurable Parameters, and there is a table with all parameters you can setup in config.js file. The one you are looking for is displayFilterPane, set it to false in your file and that will do it. If you want to do it per widget, not as a global setting you can use following script in your widget : 

    prism.jumpToDashboard(widget, {drilledDashboardDisplayType:2, displayFilterPane:false, displayDashboardsPane:false, displayToolbarRow:false, displayHeaderRow:false });


    hope it helps!

    Regards,
    Michał
    0
    Comment actions Permalink
  • Avatar
    Andrew King

    Hi Michael, thanks for the details but using 'displayFilterPane:false' config setting will hide the filter pane. I want filter pane in the popup but it should be collapsed by default.

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    Oh, I misunderstood you.

    0
    Comment actions Permalink
  • Avatar
    David Wit

    Haven't fully tested this behavior; however, the tests I ran indicate that the display or hidden status upon opening the dashboard (or jump to dashboard) respect the last time the dashboard was used. 

    Example:  Developer saves the jump to dashboard with the filter pane hidden and then publishes the dashboards.  The first user will find the jump to dashboard's filter pane hidden.  Now if the viewer expands (shows) the filter pane and then closes the jump to dashboard with the filter pane displayed, it will be "saved" with the panel displayed.  Next time that viewer re-opens the dashboard it will display in the same state as it was left the last time that viewer left it.  If the developer views the original jump to dashboard, the developer will see the filter pane in the same state the developer last viewed the dashboard.

    I have not discovered a way to have the filter pane (displayed vs hidden) to ignore the last viewed state.

    Making any sense?  Has anyone experienced a different behavior?  

    1
    Comment actions Permalink

Please sign in to leave a comment.