<?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: Problem caused by  "#editmod"+currenttablename</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename</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/help/problem-caused-by-editmodcurrenttablename/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ivanchain on Problem caused by  "#editmod"+currenttablename</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18554</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18554</guid>
        	        	<description><![CDATA[<p>jquery.printElement.js use a textarea internally, so if the grid has a textarea edit type, it will create a textarea in the <strong>editmod code part, which will confilct with the jquery.printElement.js.</strong></p>
</p>
<p>I Use the plugin to print, is because it&#39;s much more easier to print a element, like a div.&#160; Of cause, we can use media=print + css to do everything. But plugin will help us to do it better.</p>
</p>
<p>yours,</p>
<p>Ivan</p>
]]></description>
        	        	<pubDate>Tue, 13 Jul 2010 05:18:55 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Problem caused by  "#editmod"+currenttablename</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18451</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18451</guid>
        	        	<description><![CDATA[<p>You written that you want to print a grid. Aren&#39;t you? If you search for jquery.printElement.js (see <a href="http://github.com/erikzaadi/jQueryPlugins/blob/master/jQuery.printElement/jquery.printElement.js" rel="nofollow" target="_blank"><a href="http://github.com/erikzaadi/jQ" rel="nofollow">http://github.com/erikzaadi/jQ</a>.....Element.js</a>) for the text <strong>editmod</strong> you will find nothing. So there are no conflicts between jquery.printElement.js and jqGrig, form editing. I not really understand why you need use any plugin to print your web page. What you really need is a CSS for the "print" media. It defines which elements and how should be displayed on the print media (what should be printed).</p>
<p>Removing of a a DIV with id = &#39;editmod&#39; + gridid if you want to print a grid I find absolutely unlogical. It is like a suggestion to break windows if you want to go throuth the door of the hauses. Sorry.</p>
<p>Moreover I recommend you to read <a href="http://www.trirand.com/blog/?page_id=393/help/how-to-print-a-jqgrid/#p18449" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....id/#p18449</a> which it about the same problem.</p>
]]></description>
        	        	<pubDate>Wed, 07 Jul 2010 18:20:49 +0300</pubDate>
        </item>
        <item>
        	<title>ivanchain on Problem caused by  "#editmod"+currenttablename</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18447</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18447</guid>
        	        	<description><![CDATA[<p>it&#39;s not about the media=print.</p>
</p>
<p>it&#39;s a confict with other jquery plugin in the &#60;DIV id =&#39;editmod&#39;&#62;.</p>
</p>
<p>So I want to know what will happen if i remove the &#60;DIV id =&#39;editmod&#39;&#62;.</p>
</p>
<p>yours,</p>
<p>Ivan</p>
]]></description>
        	        	<pubDate>Wed, 07 Jul 2010 16:22:05 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Problem caused by  "#editmod"+currenttablename</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18441</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18441</guid>
        	        	<description><![CDATA[<p>I recommend you don&#39;t remove any divs which you find on the page. Instead of this you can use&#160;</p>
<p>See an additional CSS with media="print" like</p>
<pre class="prettyprint"><p><input type='button' class='sfcodeselect' name='sfselectit2210' value='Select Code' data-codeid='sfcode2210' /></p><div class='sfcode' id='sfcode2210'>&#60;style type=&#34;text/css&#34; media=&#34;print&#34;&#62;
    #editmod { display:none }
&#60;/style&#62;</div></pre>
<p>See <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://stackoverflow.com/questions/2962142/print-webpages-problems-looking-for-good-tutorial-to-print-web-pages-build-by/2962569#2962569&#39;);" href="http://stackoverflow.com/questions/2962142/print-webpages-problems-looking-for-good-tutorial-to-print-web-pages-build-by/2962569#2962569" target="_blank"></a><a href="http://stackoverflow.com/quest" rel="nofollow" target="_blank">http://stackoverflow.com/quest</a>.....69#2962569&#160;</p>
</p>
<p>Regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 07 Jul 2010 14:49:19 +0300</pubDate>
        </item>
        <item>
        	<title>ivanchain on Problem caused by  "#editmod"+currenttablename</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18439</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-caused-by-editmodcurrenttablename#p18439</guid>
        	        	<description><![CDATA[<p>hi,</p>
</p>
<p>&#160; var grid = jQuery("#" + currenttablename);</p>
<p>&#160; grid.editGridRow(......</p>
</p>
<p>After&#160;I use the editGridRow() to show an edit dialog, when I close it,&#160; the jqgrid will append a &#60;DIV id =&#39;editmod&#39; +currenttablename &#62; in to the jgrid.</p>
</p>
<p>I don&#39;t know what&#39;s this div&#39;s &#160;usage, and&#160; this will cause a problem when I try to print the jgrid.</p>
<p>The problem is happened when the jggrid&#39;s row include an edittype:textarea, it seem that in the &#60;DIV id =&#39;editmod&#39;&#62; it create an &#60;TEXTAREA..... . That unforunetely config with the jquery.printElement.js, which is a print plugin, you could find it on the jquery web-site.</p>
</p>
<p>So I have to remove the &#60;DIV id =&#39;editmod&#39;&#62; to run print.</p>
<p>I don&#39;t found any problem&#160;after I removed the &#60;DIV id =&#39;editmod&#39;. the jqgrid could show/load/edit data as usually.</p>
</p>
<p>Please tell me if it will cause any problem I don&#39;t know, if I just removed the &#60;DIV id =&#39;editmod&#39;&#62; created by the editGridRow().</p>
</p>
<p>yours,</p>
<p>Ivan</p>
]]></description>
        	        	<pubDate>Wed, 07 Jul 2010 14:20:13 +0300</pubDate>
        </item>
</channel>
</rss>