Forum Discussion

amritbhgt's avatar
amritbhgt
Cloud Apps
12-07-2023
Solved

Dashboard borders

Hi All, I wan to to have dashboard(not widget) border for my dashboard, an outline for the dashboard. if you can also help in fixing the size(height & width) of the dashboard Thanks Example : bla...
  • Benji_PaldiTeam's avatar
    12-08-2023

    Hi amritbhgt ,

    Use the script below to add a border into a Sisense dashboard. You can customize the border width and color in the CSS.

    dashboard.on('widgetready', (sender, args) => {
    	$('dashboard .ds-layout-host').css('border', '5px solid black')
    })

    Here is the screenshot of dashboard after applying above dashboard script.

     

     Feel free to reach out if you have further questions, we're always happy to help 🙂
    [email protected] 
    Paldi Solutions, Number #1 Sisense Plugins Developer