Export customization

Hi,
 
We are using https://www.flexmonster.com/blog/grid-customization-and-styling-beyond-css/
these for grid customization but we want to apply the same for export(excel and pdf.. )also. Can we apply.
 
Thanks
Ravali

5 answers

Public
Iryna Kulchytska Flexmonster September 20, 2018

Hi Ravali,
 
Thank you for posting your question to our Support Forum.
 
Could you please provide us with the details on what exactly you are customizing on the grid using customizeCell function? For example, you can share a JSFiddle sample with us. It will help us understand better what you would like to be able to export.
 
Kind regards,
Iryna

Public
Ravali September 21, 2018

Hi Iryna,
i have attached JSfiddle example https://jsfiddle.net/q86b3th1/
We are pulling data Sass cube and using angular 2 for integration.
We are using same customize cell for hiding measure name,can we like remove the row or hide the entire headings row.
 
Thanks
Ravali

Public
Tanya Gryshko Flexmonster September 21, 2018

Hello, Ravali,
Thank you for your response.
Please note that customizeCell function is not used in full during the export to Excel and PDF.
For instance, custom CSS styles are not exported.
Speaking of hiding measure name via customizeCell, it will be exported to Excel and PDF the same as it is displayed on the grid. If it is not exported on your side, please share the code of your customizeCell function or JSFiddle example.
Waiting for your reply.
Regards,
Tanya

Public
Ravali September 25, 2018

Hi,
 
Is there any alternative way to apply CSS to export functionality…….as our client is asking for alternate grid color.
 
Thanks
Ravali

Public
Tanya Gryshko Flexmonster September 26, 2018

Hello, Ravali,
Thank you for your reply.
Currently, we are not able to provide you with an alternative way to apply CSS to export functionality. And the reason customizeCell is not used in full is that this function allows customizing the cells with custom styles which may not be supported for the exported file formats.
Please let me know if there is anything else I can help you with.
Regards,
Tanya

Please login or Register to Submit Answer