Posted 15 June 2021, 6:18 pm EST
Is there a way for me to modify the css used for the isPrintLineVisible(true) line?
Forums Home / Spread / SpreadJS
Posted by: adisa.craig on 15 June 2021, 6:18 pm EST
Posted 15 June 2021, 6:18 pm EST
Is there a way for me to modify the css used for the isPrintLineVisible(true) line?
Posted 16 June 2021, 5:34 am EST
Hi Adisa,
If I understand correctly you want to change the style of print lines Border but we are sorry but there is no CSS class used to style that line. Actually, it is an outline border that indicates the print range so it could not be customized by CSS class. SpreadJS does not provide any method by which we could customize the print range lines style
Further, could you please explain more about the use case that you are trying to implement so that we could have a better understanding of the issue and assist you accordingly.
Regards,
Avinash
Posted 16 June 2021, 11:22 am EST - Updated 3 October 2022, 9:46 am EST
Hi Avinash,
I am attempting to set up a print preview window which will show the user what will get printed if they change specific options, such as orientation, page size and so on. I added the isPrintLineVisible(true) to my code but I see a dotted line (shown in attached image)instead of the solid black line as in the Custom printing sample shown here https://www.grapecity.com/spreadjs/demos/features/print/custom-print/purejs
Posted 17 June 2021, 8:51 am EST
Hi Adisa,
Thanks for the information. We have escalated this issue to the concerned team and asked them regarding the same, We will update you once we get any information from the team, The internal ID for this issue will be SJS-9004.
Regards
Avinash