Forum Discussion

cartercjb's avatar
01-14-2022
Solved

Remove Widget Lines When Exporting to PDF

Hello Sisense Community!

Does anyone know of a way to remove the borderlines that appear on each widget? I have highlighted them in yellow in the example screenshot below.  

 

  • Hi cartercjb,

     

    Add the following 2 lines in your dashboard script:

     

    $('.z-s-t').remove()

    $('.w-t').remove()

     

    Ophir

3 Replies

Replies have been turned off for this discussion
  • Ophir_Buchman's avatar
    Ophir_Buchman
    Data Integration

    Hi cartercjb,

     

    Add the following 2 lines in your dashboard script:

     

    $('.z-s-t').remove()

    $('.w-t').remove()

     

    Ophir

  • harikm007's avatar
    harikm007
    Data Warehouse

    cartercjb ,

    Please try this dashboard script: 

    dashboard.on('widgetready', function (se, ev) {
    	$('.z-s-t').height(0)
    	$('.w-t').height(0)
    });

    Thanks

    -Hari