Results 1 to 5 of 5

Thread: Generate PDF of a content in Extjs window

  1. #1

    Default Generate PDF of a content in Extjs window

    Good morning

    You can generate a PDF of the contents of a window ExtJS. Note that the contended the sale may be edited at runtime to generate the pfd then.

    I appreciate any help you can offer

  2. #2
    Sencha User Mycoding's Avatar
    Join Date
    May 2010
    Russia, Volgograd


    Do you need just to pdf from content of Ext.Window or something more?
    I didn't understand this.
    Note that the contended the sale may be edited at runtime to generate the pfd then

  3. #3


    I will try to explain better. The idea is to make a report. Each user should be able to edit the template to your needs. For example, an invoice or any other report. The idea is that the user after creating o updating your template, you can display data on screen and then generate a PDF and / or excel file.

    The idea is to have something like this where you can create a template and then generate the report on screen and then export it to pdf or excel.

    Thanks for replying

  4. #4
    Sencha User
    Join Date
    Aug 2010



    I have done smt like that. You can do this (without http request) at mozilla firefox but not in internet explorer. The only solution I found for this problem is to send the report data to server with http/post and create a pdf or excel file at server side and send back the binary file to client. That way user can choose to save or open the file.

    * Since your data can be too many in some reports, send just one http post parameter that is in csv format. (smt like csv: par1;value1;par2;value2)
    Mehmet ad?rc?

  5. #5


    Thanks for responding. What tool recommend me to generate the pdf or excel file?. Currently working with php server-side. I got a library called html2fpdf, looks very good because you can generate pdf from html code, but no proof to see how it works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts