Forum Discussion

Kins's avatar
Kins
Cloud Apps
09-05-2022
Solved

Pane removal but cannot PDF

I am using the below script for my drills, to remove the right and left side panels:

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

By using this, it's also removed the top panel which allows users to download the dashboard to PDF etc. Does anyone know a way around this?

Many thanks

  • Hi Kins ,

    In above script displayToolbarRow and displayHeaderRow are for header. So you need to set them as true.

    Use below script :

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

    -Hari

     

2 Replies

Replies have been turned off for this discussion
  • harikm007's avatar
    harikm007
    Data Warehouse

    Hi Kins ,

    In above script displayToolbarRow and displayHeaderRow are for header. So you need to set them as true.

    Use below script :

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

    -Hari

     

    • Kins's avatar
      Kins
      Cloud Apps

      Thanks so much; that worked in the Sisense builder. Unfortunately, when I published it to the website it's still showing the side panels. Would there be a simple explanation as to why this is?

      Many thanks