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)

1件のコメント

5つ星のうち0と評価されています。
まだ評価がありません

評価を追加
DRay
DRay
2024年10月29日
5つ星のうち5と評価されています。

Nice and tidy script. Thank you!

編集済み
いいね!
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