Remove Export to CSV item from widget menu
In order to remove the export to CSV option from the widget menu we can use the following code snippet in the widget script:
// remove export to csv in the widget editing window
widget.on('beforewidgetmenu', function(e,args){
args.items.shift();
})
// remove export to csv in the dashboard view mode
widget.on('beforewidgetindashboardmenu', function(e,args){
args.items.shift()
})
-
Hi All,
Glad to announce, we've developed a new plugin which enables one to determine which export options will be available per widget for viewer users, this can be selected/deselected from within the widget editor UI:
We have also developed a custom dashboard export plugin to provide the option to enable/disable the ability to export complete dashboards to PNG or PDF.
Contact us for a live demo!
Sisense Partner of the year 2019!
Please sign in to leave a comment.
Comments
3 comments