peteris_b
9 May 2011, 5:59 AM
Hey!
I was wondering if there is something similar to "Ext.ux.Printer" already for the 4th version of ExtJS.
I am preparing a PDF creator where the content from, currently a grid panel, component should be placed together with other dynamically generated data.
Currently the generation of the PDF with the ExtJS component is happening by writing html mark-up to wkhtmltopdf.
The grid panel is successfully printed to the PDF, but if any other content is added, it is placed below the already printed component. Which as I understand is something to do with the css styling of the component.
I have also noticed that ExtJS generates a lot of code when creating the grid panel.
In my case that code is not needed when written to a PDF and it is almost impossible to control if any changes need to be done.
Is there a way how to strip down the code of the created component?
Thanks in advance!
--
Peter
I was wondering if there is something similar to "Ext.ux.Printer" already for the 4th version of ExtJS.
I am preparing a PDF creator where the content from, currently a grid panel, component should be placed together with other dynamically generated data.
Currently the generation of the PDF with the ExtJS component is happening by writing html mark-up to wkhtmltopdf.
The grid panel is successfully printed to the PDF, but if any other content is added, it is placed below the already printed component. Which as I understand is something to do with the css styling of the component.
I have also noticed that ExtJS generates a lot of code when creating the grid panel.
In my case that code is not needed when written to a PDF and it is almost impossible to control if any changes need to be done.
Is there a way how to strip down the code of the created component?
Thanks in advance!
--
Peter