cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
The script below will collapse the dashboard and filter panes when a dashboard first loads. This is helpful when embedding with Iframe and you do not want these panes to show, but do not want to disable them for the user. 
 

Implementation 

Add the following script to each dashboard script you want to collapse the panes upon opening. Save and refresh the dashboard. 
setTimeout(function() {

  if (!$('div#prism-leftview').hasClass('collapsed-pane')) {

$('div.trillapser-container', $('div#prism-leftview')).click();

}

if (!$('div#prism-rightview').hasClass('collapsed-pane')) {

$('div.trillapser-container', $('div#prism-rightview')).click();

}

}, 1000);
Version history
Last update:
‎03-02-2023 09:25 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: