cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Widget Lines When Exporting to PDF

cartercjb
9 - Travel Pro
9 - Travel Pro

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
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
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

Thanks, @Ophir! That worked like a charm!

harikm007
9 - Travel Pro
9 - Travel Pro

@cartercjb ,

Please try this dashboard script: 

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

Thanks

-Hari