function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Yogesh Malbhage 18Yogesh Malbhage 18 

How to remove headers from print preview in lightning component?

We are haning a lightning component tab on which we are providing a print option with window.print(). But header part from SF admin still remains there. Please provide a solution to hide header from print preview.
User-added image
Raj VakatiRaj Vakati
That is is the standard print .. the only way you can do it by using some css and hide the column before print..
Yogesh Malbhage 18Yogesh Malbhage 18
Hi Raj,

Thanks for your quick reply.

Can you please tell me what css can I apply?