PDA

View Full Version : Export data grid into PDF in EXT js 4.2.2



Jegatheesan
10 Dec 2013, 11:12 PM
How to export data grid into pdf in ExtJS 4.2.2 without using backend operation(JAVA,PHP, .Net...).am new to the EXTJS. Could you plz provide the sample example to me which would helpful to me .
i can try this exporter plugin. https://github.com/iwiznia/Ext.ux.Exporter . but this for Excel functionality, any other PDF plugin is available?

existdissolve
11 Dec 2013, 3:20 PM
How to export data grid into pdf in ExtJS 4.2.2 without using backend operation(JAVA,PHP, .Net...).am new to the EXTJS. Could you plz provide the sample example to me which would helpful to me .
i can try this exporter plugin. https://github.com/iwiznia/Ext.ux.Exporter . but this for Excel functionality, any other PDF plugin is available?

You might try something like this: https://github.com/MrRio/jsPDF

K (https://github.com/MrRio/jsPDF)eep in mind, however, that it is an HTML5 solution, so will not have full cross-browser support (particularly Internet Explorer).

I would be curious, however, why you don't want to use a server-side solution. This would give you a bullet-proof way to generate PDFs, regardless of browser, and there are dozens of libraries for many languages that make the process dead simple.