Use Case Example:
When you want to use the first widget as a Filter Pane and when scrolling it will always show.
Implementation:
Copy & Paste the the script below into the dashboard script. (See Adding Custom JavaScript to a Dashboard )
Notes:
1. Change the widget ID to the relevant widget.
2. When duplicating a dashboard / widget please the ID of the element is changing, make sure to change it to the new ID.
dashboard.on('widgetready', function(){
$('widget[widgetid="5eeb45ee2a5a197a6083b328"]').parent().parent().parent().css({
'position':'sticky',
'top':'0',
'z-index':'50'
})
});