<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Printing a true scrolling jqgrid with possibly many thousands rows</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Printing a true scrolling jqgrid with possibly many thousands rows</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows#p15395</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows#p15395</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks.</p>
<p>IMHO the appropriate approach is to do it server-side, it is more robust instead that there is another request with a lot of data.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 12:30:59 +0200</pubDate>
        </item>
        <item>
        	<title>xenub on Printing a true scrolling jqgrid with possibly many thousands rows</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows#p15238</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/printing-a-true-scrolling-jqgrid-with-possibly-many-thousands-rows#p15238</guid>
        	        	<description><![CDATA[<p>Hello. First I love jqGrid, used it in many scenarios with&#160;success and&#160;can&#39;t live witout it.</p>
</p>
<p>I have a situation where the content I&#160;have to&#160;show can potentially have many thousands lines of text long. The truescrolling feature of jqGrid do a great job of managing that kind of content on the screen; I just turn each line of text in a row, build a page of them and&#160;feed jqGrid through jSON calls. Since the user really never loads all the pages, the script execution to render the&#160;jqgrid&#160;and&#160;the resulting data that gets loaded&#160;in the DOM doesn&#39;t make the browser&#160;bend on its knees.</p>
</p>
<p>The tricky part is that when the user prints the document, all the data have to be printed. It can easily go up to 500 printed pages of text, each line being a jqgrid row.</p>
</p>
<p>I have a style&#160;media print override to make the grid scroll overflow&#160;invisible and also&#160;already use jqprint to dump the content I need to print in a&#160;iframe and to&#160;print this iframe.&#160;Of course, the grid takes the correct height when printed because of the css override&#160;but the&#160;pages of data&#160;that weren&#39;t loaded by the user actually scrolling to them&#160;are blanks.</p>
</p>
<p>Do you have any advice on&#160;how I could trigger&#160;all the pages of the truescrolling grid to load when I need to&#160;print the content?</p>
</p>
<p>I could always render the actual html full content server-side without using jqgrid, load the result into an&#160;iframe and print it. But I&#39;d favor a 100% client-side solution,&#160;loading the content through jqgrid paging, ideally without having to render&#160;a second grid with different parameters inside the printing iframe.</p>
</p>
<p>Any advice around how&#160;I could achieve this&#160;are very welcome.&#160;</p>
]]></description>
        	        	<pubDate>Sun, 28 Feb 2010 03:01:07 +0200</pubDate>
        </item>
</channel>
</rss>