For any support or more customized script, contact us -  binextlevel@gmail.com

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)

81 views0 comments

Recent Posts

See All