PDA

View Full Version : How to Print the Content of the Ext.Window



soma
4 Nov 2009, 11:57 PM
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()

dawesi
30 Nov 2009, 9:07 PM
if you use a managed iframe you could print the frame.