Vue 3 not printing/exporting custom templates correctly

When defining custom templates using slots for column, aggregate footer and group footer, and group caption, there are some issues with printing and exporting:

1) None of the templates will print. They just show the name of the slot.

2) Export to Excel/CSV/PDF will not render aggregate footer and group footer

Reproduction:

https://stackblitz.com/edit/vue3-grid-column-template-v2-qz7vxi?file=src%2Fcomponents%2FGrid.vue


2 Replies

JS Johnson Soundararajan S Syncfusion Team August 21, 2024 03:47 PM UTC

Hi Jacob,


Greetings from Syncfusion support.


We have confirmed that the reported case is an issue from our side and logged it as “Vue 3 is not correctly printing and exporting custom templates”. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release which will be rolled out on “September 10th, 2024”.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through the below link,


Feedback: https://www.syncfusion.com/feedback/60597/vue-3-is-not-correctly-printing-and-exporting-custom-templates


Disclaimer: "Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization".


Regards

Johnson S



AR Aishwarya Rameshbabu Syncfusion Team September 10, 2024 04:29 PM UTC

Hi Jacob,

 

We are glad to announce that, we have included the fix for the issue “Vue 3 is not correctly printing and exporting custom templates” in our 26.2.14 release. So please upgrade to our latest version of the Syncfusion package to resolve the reported issue.

 

Root Cause: The issue arose because template instance references were unavailable for the print grid/export grid.

 

Solution: The issue was resolved by assigning the parent template instance references to the print grid/export grid.

 

Release Notes: https://ej2.syncfusion.com/vue/documentation/release-notes/26.2.14?type=all#grid

 

Sample: Vue 3 SyncFusion Grid Template print (forked) - StackBlitz

   

Feedback: https://www.syncfusion.com/feedback/60597/vue-3-is-not-correctly-printing-and-exporting-custom-templates

 

We thank you for your support and appreciate your patience in waiting for this release. Please get back to us if you need any further assistance.

 

 

Regards,

Aishwarya R


Loader.
Up arrow icon