<?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: how to use jqGrid 4.0 on xhtml-page</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page</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/bugs/how-to-use-jqgrid-4-0-on-xhtml-page/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on how to use jqGrid 4.0 on xhtml-page</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22730</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22730</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks fixed.</p>
]]></description>
        	        	<pubDate>Mon, 11 Apr 2011 12:56:54 +0300</pubDate>
        </item>
        <item>
        	<title>BorisKorobkov on how to use jqGrid 4.0 on xhtml-page</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22718</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22718</guid>
        	        	<description><![CDATA[<p>1. <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.base.js#L860" target="_blank">grid.base.js line 860</a></p>
<p>I&#39;m using HTML5 page.</p>
<p>tagName  in all web browsers are in capital characters with content_type =  &#39;text/html&#39;. But tagName in all web browsers are in lower case with  content_type = &#39;application/xhtml+xml&#39;. Better to make code independed  of content_type.</p>
<p>Also you can make</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2773' value='Select Code' data-codeid='sfcode2773' /></p>
<div class='sfcode' id='sfcode2773'>if(this.tagName.toUpperCase()!=&#39;TABLE&#39;)</div>
<p>&#160;
</p>
<p>2. yes</p>
]]></description>
        	        	<pubDate>Sat, 09 Apr 2011 23:42:26 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on how to use jqGrid 4.0 on xhtml-page</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22717</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22717</guid>
        	        	<description><![CDATA[<p>Hello Boris,</p>
<p>it would be much better if you will post the information based on <strong>uncompressed code of jqGrid</strong>, for example, from the <em>jquery.jqGrid.src.js</em>&#160;or more better from the original version of jqGrid modules which you will find in the <em>src</em> directory of downloaded zip file. At the end one have to find the corresponding place in the jqGrid original code.</p>
<ol>
<li>I use only XHTML pages and the tagName in all web browsers are in capital characters. I don&#39;t think that one need change if(this.tagName!="TABLE") to if(this.tagName.toLowerCase()!=&#39;table&#39;). If you do have an example post it, but with the exact information which web browser and in which version has problem.</li>
<li>You mean probebly the lines <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.formedit.js#L903" target="_blank">903</a> and <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.formedit.js#L904" target="_blank">904</a> of the grid.formedit.js where</li>
</ol>
<p><input type='button' class='sfcodeselect' name='sfselectit6924' value='Select Code' data-codeid='sfcode6924' /></p>
<div class='sfcode' id='sfcode6924'>var bP = &#34;&#60;a href=&#39;javascript:void(0)&#39; id=&#39;&#34;+bp+&#34;&#39; class=&#39;fm-button ui-state-default ui-corner-left&#39;&#62;&#60;span class=&#39;ui-icon ui-icon-triangle-1-w&#39;&#62;&#60;/span&#62;<strong>&#60;/div&#62;</strong>&#34;,<br />bN = &#34;&#60;a href=&#39;javascript:void(0)&#39; id=&#39;&#34;+bn+&#34;&#39; class=&#39;fm-button ui-state-default ui-corner-right&#39;&#62;&#60;span class=&#39;ui-icon ui-icon-triangle-1-e&#39;&#62;&#60;/span&#62;<strong>&#60;/div&#62;</strong>&#34;,</div>
<p>should be fixed to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit629' value='Select Code' data-codeid='sfcode629' /></p>
<div class='sfcode' id='sfcode629'>var bP = &#34;&#60;a href=&#39;javascript:void(0)&#39; id=&#39;&#34;+bp+&#34;&#39; class=&#39;fm-button ui-state-default ui-corner-left&#39;&#62;&#60;span class=&#39;ui-icon ui-icon-triangle-1-w&#39;&#62;&#60;/span&#62;<strong>&#60;/a&#62;</strong>&#34;,<br />bN = &#34;&#60;a href=&#39;javascript:void(0)&#39; id=&#39;&#34;+bn+&#34;&#39; class=&#39;fm-button ui-state-default ui-corner-right&#39;&#62;&#60;span class=&#39;ui-icon ui-icon-triangle-1-e&#39;&#62;&#60;/span&#62;<strong>&#60;/a&#62;</strong>&#34;,&#160;</div>
<p>In the line <a href="https://github.com/tonytomov/jqGrid/blob/v4.0.0/js/grid.filter.js#L377" target="_blank">377</a> of the grid.filter.js</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8045' value='Select Code' data-codeid='sfcode8045' /></p>
<div class='sfcode' id='sfcode8045'>so = rule.op === that.p.ops[i].name ? &#34; selected=<strong>selected</strong>&#34; : &#34;&#34;;</div>
<p>should be included quotes</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8865' value='Select Code' data-codeid='sfcode8865' /></p>
<div class='sfcode' id='sfcode8865'>so = rule.op === that.p.ops[i].name ? &#34; selected=&#39;<strong>selected&#39;</strong>&#34; : &#34;&#34;;</div>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 09 Apr 2011 23:22:26 +0300</pubDate>
        </item>
        <item>
        	<title>BorisKorobkov on how to use jqGrid 4.0 on xhtml-page</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22715</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/how-to-use-jqgrid-4-0-on-xhtml-page#p22715</guid>
        	        	<description><![CDATA[<p>If you want to use jqGrid 4.0 on xhtml-page, you must make valid code. Replace:</p>
<ol>
<li class="doc">if(this.tagName!="TABLE")<br />-&#62;<br />if(this.tagName.toLowerCase()!=&#39;table&#39;)</li>
<li class="doc">&#60;a  href=&#39;javascript:void(0)&#39; id=&#39;"+H+"&#39; class=&#39;fm-button ui-state-default  ui-corner-left&#39;&#62;&#60;span class=&#39;ui-icon  ui-icon-triangle-1-w&#39;&#62;&#60;/span&#62;&#60;/div&#62;<br />-&#62;<br />&#60;a  href=&#39;javascript:void(0)&#39; id=&#39;"+H+"&#39; class=&#39;fm-button ui-state-default  ui-corner-left&#39;&#62;&#60;span class=&#39;ui-icon  ui-icon-triangle-1-w&#39;&#62;&#60;/span&#62;&#60;/a&#62;</li>
<li class="doc">&#60;a  href=&#39;javascript:void(0)&#39; id=&#39;"+X+"&#39; class=&#39;fm-button ui-state-default  ui-corner-right&#39;&#62;&#60;span class=&#39;ui-icon  ui-icon-triangle-1-e&#39;&#62;&#60;/span&#62;&#60;/div&#62;<br />-&#62;<br />&#60;a  href=&#39;javascript:void(0)&#39; id=&#39;"+X+"&#39; class=&#39;fm-button ui-state-default  ui-corner-right&#39;&#62;&#60;span class=&#39;ui-icon  ui-icon-triangle-1-e&#39;&#62;&#60;/span&#62;&#60;/a&#62;</li>
<li class="doc-last">" selected=selected"<br />-&#62;<br />" selected=&#39;selected&#39;"</li>
</ol>
]]></description>
        	        	<pubDate>Sat, 09 Apr 2011 21:47:45 +0300</pubDate>
        </item>
</channel>
</rss>