top of page

Collapse or Hide Dashboard and Filter panels

Sisense dashboards have left and right panels. Left panel is to display list of dashboards and Right panel is for dashboard filters. These panels are always displayed unless we added parameters to hide it in URL.

Here is a script to Hide these panels



Steps:

  1. Create dashboard

  2. Add below script to dashboard

  3. Refresh the dashboard


setTimeout(()=>{
	//Collapse dashboard panel (left)
	if (!$('#prism-leftview.collapsed-pane')[0]){
		$( "#prism-leftview .trillapser-container" ).trigger( "click" );
	}
	//Hide arrow button to prevent expand the panel again
	$('.trillapser-container.right').css('display', 'none')

	//Collapse filter panel (right)
	if (!$('#prism-rightview.collapsed-pane')[0]){
		$( "#prism-rightview .trillapser-container" ).trigger( "click" );
	}
	//Hide arrow button to prevent expand the panel again
	$('.trillapser-container.left').css('display', 'none')
}, 1)

704 views1 comment

1 Comment

Rated 0 out of 5 stars.
No ratings yet

Add a rating
DRay
DRay
Oct 29, 2024
Rated 5 out of 5 stars.

Nice and tidy script. Thank you!

Edited
Like
BI Next Level white logo

BI Next Level is your trusted resource for BI customization, data solutions, and expert insights. Explore practical tips, scripts, and tutorials for tools like Sisense, Python, and SQL. Let’s transform your data into impactful insights together.

Quick Links
Connect with us
Copyright © 2024. All Rights Reserved. Designed, Developed & Maintained  by Intertoons
bottom of page