top of page

Highlight i-button of widgets having description

In Sisense, we can add description about a widget in its i-button which is located at widget header. But it is difficult to know if any description is added or not, we may have to hover over or click on it to find it. Below script will highlight i-button if any description is added to a widget.




Steps:

  1. Create a dashboard and add widgets in it

  2. Add below script to dashboard. Change color from red to any color you want

  3. Save the script and refresh dashboard


dashboard.on('widgetready', function(se, ev){

	if(ev.widget.desc && ev.widget.desc.trim().length > 0)
	{
		$(`widget[widgetid="${ev.widget.oid}"] widget-header .app-icon--general-info-circle`).css('color', 'red')
	}

})

172 views0 comments

Comentários

Avaliado com 0 de 5 estrelas.
Ainda sem avaliações

Adicione uma avaliação
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