onPDFCellRender example for pivot view

   Hi there,

I can't seem to get https://ej2.syncfusion.com/vue/documentation/api/pivotview/#onpdfcellrender to work. Does anyone have any examples of how you can modify the individual cell based on a value in the pdf export?

1 Reply 1 reply marked as answer

SN Sivamathi Natarajan Syncfusion Team September 23, 2020 12:25 PM UTC

 
Thanks for contacting Syncfusion support. 
 
We would like to inform that the pivot table supports below two kind of exporting. 
 
-          Grid exporting (Primary exporting option) 
-          Engine exporting (Uses on virtual scrolling) 
 
Both has dedicated events for customization. The event (onPdfCellRender) you mentioned is for Engine exporting. And we suspect that you are using Grid exporting option. So, the event isn’t triggered. 
 
So, we will guide about the two exporting options and its events as follows,  
 
Engine Exporting: 
 
 
 
Grid exporting events (PdfQueryCellInfo and PdfHeaderQueryCellInfo): 
 
 
 
So, kindly use the appropriate events based on the exporting options you are using. 
 
Regards, 
Sivamathi. 


Marked as answer
Loader.
Up arrow icon