We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF export fails when both footerTemplate and groupFooterTemplate are defined

Thread ID:





150314 Jan 1,2020 06:59 PM UTC Jan 8,2020 06:18 AM UTC Vue 3
Tags: Data Grid
Bill Naples
Asked On January 1, 2020 06:59 PM UTC

Check out this sandbox example:

Try clicking on the "Export to PDF" button to export the rendered grid, and you'll get this error:

Uncaught (in promise) TypeError: w[t.getEnumValue(...)] is not a function
    at i.processAggregates (ej2-grids.umd.min.js:10)
    at eval (ej2-grids.umd.min.js:10)
    at e.notify (ej2-base.umd.min.js:10)
    at o.e.trigger (ej2-base.umd.min.js:10)
    at VueComponent.n.trigger (ej2-vue-grids.umd.min.js:10)
    at y (ej2-grids.umd.min.js:10)
    at i.processGroupedRecords (ej2-grids.umd.min.js:10)
    at i.processGridExport (ej2-grids.umd.min.js:10)
    at eval (ej2-grids.umd.min.js:10)
    at new Promise (<anonymous>)
    at i.processExport (ej2-grids.umd.min.js:10)
    at eval (ej2-grids.umd.min.js:10)

In the Grid.vue component file, you'll see aggregate column defined as follows:
columns: [
field: "purchase",
type: "Sum",
// PDF export fails when both footer templates defined.
// If either one of them is removed, and the other defined,
// then it works fine.
footerTemplate: this.footerSum,
groupFooterTemplate: this.footerSum

As the comment says, try commenting out either template, and then export works.

What's happening here?


Prasanna Kumar Viswanathan [Syncfusion]
Replied On January 3, 2020 12:06 PM UTC

Hi Bill , 
Greetings from Syncfusion support 
Query : PDF export fails with both footertemplate and groupfooterTemplate are defined 
We are able to reproduce the reported issue at our end and we have confirmed it is bug. Thank you for taking the time to report this issue PDF export fails with both footertemplate and groupfooterTemplate are defined” and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming bi-weekly release 22nd January, 2020. 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.  
Till then we appreciate your patience. 
Prasanna Kumar N.S.V 

Bill Naples
Replied On January 7, 2020 10:36 AM UTC

Thanks so much Prasanna. Much appreciated.

Dhivya Rajendran [Syncfusion]
Replied On January 8, 2020 06:18 AM UTC

Hi Bill, 
Thanks for your update. 
You can track the status through our feedback link that we have provided in the last update and get back to us if you need further assistance from us. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon