top of page

Add button to Sisense widget

Below script allow you to add a button in Sisense widget and specified URL will be opened when you click on it





widget.on("ready", function(w, args){
	w.chart[0][Object.keys(w.chart[0])[0]].hc.renderer.button('Open', 10, 10)
		.attr({
			zIndex : 10,
			height: 15,
			width: 50,
			'text-align': 'center'
		})
		.on('click', function() {						
			window.open('https://www.clickdimensions.com/links/TestPDFfile.pdf') //url of website or document
		})
		.add();
});



Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
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