cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Widget Lines When Exporting to PDF

cartercjb
10 - ETL
10 - ETL

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.  

cartercjb_0-1642188129132.png

 

1 ACCEPTED SOLUTION

Ophir_Buchman
Sisense Team Member
Sisense Team Member

Hi @cartercjb,

 

Add the following 2 lines in your dashboard script:

 

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

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

 

Ophir

View solution in original post

3 REPLIES 3

Ophir_Buchman
Sisense Team Member
Sisense Team Member

Hi @cartercjb,

 

Add the following 2 lines in your dashboard script:

 

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

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

 

Ophir

Thanks, @Ophir_Buchman! That worked like a charm!

harikm007
13 - Data Warehouse
13 - 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