Results 1 to 2 of 2

Thread: How to Print the Content of the Ext.Window

  1. #1

    Default How to Print the Content of the Ext.Window

    When i click on print button, printout comes as printscreen , it is not printed the total content of Window. Please help us.


    var win = new Ext.Window({
    layout:'fit',
    width:800,
    height:600,
    closable: true,
    title:'Financial Details',
    plain:true,
    border:true,
    minimizable : false,
    maximizable : false,
    autoScroll : true,
    overflow:'auto',
    items: financialDetailPanel,



    buttons:[{
    text: 'Print',
    handler:function()
    {
    Window.print();
    }
    }]


    });
    win.show()

  2. #2
    Sencha Premium User dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,246

    Default

    if you use a managed iframe you could print the frame.
    Cloud Application Architect

    Sencha Specialist / Sencha MVP / Sencha Technical Trainer
    ExtJs Developer + Contributor since 0.2.2 - Champion of the per developer license.

Posting Permissions

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