Results 1 to 5 of 5

Thread: Show an HTML (in local) page in iframe and save this page as pdf

  1. #1
    Sencha User
    Join Date
    Feb 2017
    Posts
    2

    Default Show an HTML (in local) page in iframe and save this page as pdf

    Hi,
    I have a form which is design in html page. I need to open this html page with an parameterized url in an iframe and print or save as pdf file.

    I can open this html file as http://blabla.html (this is in local ) in iframe but I cannot http://blabla.html?param1=this&param2=that in iframe. I mean while this hmtl is open in iframe this form must be filled according to those parameters. Any idea ?

    Thx

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    There's nothing in Ext JS to save HTML as a PDF file. Is your form generated by Ext JS?

  3. #3
    Sencha User
    Join Date
    Feb 2017
    Posts
    2

    Default

    Form desing is in HTML. Is there any way to designed (custom it is not like ordinary grid table) form ( which has some part can be filled from database and some part can be filled by hand ) can be saved as pdf in Ext JS?

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    No, there's nothing in Ext JS that will save to PDF. The only exporter functionality in the framework is data-focused:
    http://docs.sencha.com/extjs/6.2.0/g.../exporter.html

  5. #5
    Sencha User
    Join Date
    Feb 2017
    Posts
    2

    Default

    Quote Originally Posted by Gary Schlosberg View Post
    No, there's nothing in Ext JS that will save to PDF. The only exporter functionality in the framework is data-focused:
    http://docs.sencha.com/extjs/6.2.0/g.../exporter.html

    I see .Thanx for quick answer. I try to open local html inside iframe with parameter. But I cannot succeded. Is there any way to design form in Ext js and some parts of form filled from db automatically and some of part filled by user by hand. Then create a pre formatted document(i.e. Excell or word ) ? And this document can be print out as pdf .. Is it possible ? Or it is just like Harry Potter like fantasia!

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    I don't see how you'd go from form to Excel. Perhaps if you started with a grid, which can source from db and have editable cells for user.

Similar Threads

  1. What is the simplest way to load a local html page?
    By farbodr in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 4 May 2012, 5:57 AM
  2. Ext Button can not work within HTML Frame Page not Iframe in IE7.0
    By jackgray in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 24 Jun 2011, 8:37 AM
  3. save extjs components as HTML page- need help
    By prajeesh_bs in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 17 Apr 2011, 9:08 PM
  4. Load local HTML page in Tabpanel
    By sudeepcm in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 29 Sep 2010, 11:26 PM
  5. panel vs iframe for self-contained html page
    By mxu in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Nov 2007, 3:37 PM

Tags for this Thread

Posting Permissions

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