Jan 19, 2011, 7:00 PM
Fitlayout and window.print() doesn't print all the web page data, but only the visible browser part.
Hi Ext.NET,
I've got a problem when i try to print preview or print the data of a web page that is inside an <ext:FitLayout> object and where the data to display is longer then the window browser height.
In the web page, I can see a scroll bar and all the data correctly, but when i try to print it (with a Listeners:
When i use other form of layout, the print preview or print work fine, but the web page scroll bar doesn't appear and thus, the user can't see all the data on the web page.
I don't intend to "patch" this by creating another web page with all the same object without the <ext:FitLayout>.
So i was wondering: how can i print all the data that the <ext:FitLayout> contain.
Thanks for the help ! (n_n)'
I attached 3 images:
I've got a problem when i try to print preview or print the data of a web page that is inside an <ext:FitLayout> object and where the data to display is longer then the window browser height.
In the web page, I can see a scroll bar and all the data correctly, but when i try to print it (with a Listeners:
<Click Handler="window.print();" />
) , only the data inside the browser height is printed and not all the data that the <ext:FitLayout> contain.When i use other form of layout, the print preview or print work fine, but the web page scroll bar doesn't appear and thus, the user can't see all the data on the web page.
I don't intend to "patch" this by creating another web page with all the same object without the <ext:FitLayout>.
So i was wondering: how can i print all the data that the <ext:FitLayout> contain.
Thanks for the help ! (n_n)'
I attached 3 images:
- The code summery
- The data display
- The print preview display.