<?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: Cell editing without datepicker issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-editing-without-datepicker-issue</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/cell-editing-without-datepicker-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Cell editing without datepicker issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-editing-without-datepicker-issue#p2677</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-editing-without-datepicker-issue#p2677</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you. I know about this and it is corrected.</p>
<p>Will be bug fix soon.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 06:17:26 +0300</pubDate>
        </item>
        <item>
        	<title>virgil on Cell editing without datepicker issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cell-editing-without-datepicker-issue#p2656</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cell-editing-without-datepicker-issue#p2656</guid>
        	        	<description><![CDATA[<p>hi,</p>
<p>I&#39;ve found a bug when&#160;using jqGrid 3.3&#160;cell editing without including ui.datepicker.js where focus is stuck on the input element, navigation keys and clicking on other editable cells won&#39;t work until you enter something on the input element.</p>
<p>I&#39;ve also found a solution:</p>
<p>Made a small modification in restoreCell method in grid.celledit.js</p>
<p>Original code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit524' value='Select Code' data-codeid='sfcode524' /></p>
<div class='sfcode' id='sfcode524'>
<p>if(fr != null) {</p>
<p><span style="white-space: pre;"> </span>var cc = $(&#8221;td:eq(&#8221;+iCol+&#8221;)&#8221;,$t.rows[iRow]);</p>
<p><span style="white-space: pre;"> </span>try {</p>
<p><span style="white-space: pre;"> </span>// old date picker</p>
<p><span style="white-space: pre;"> </span>$.datepicker.hideDatepicker();</p>
<p><span style="white-space: pre;"> </span>} catch (e) {</p>
<p><span style="white-space: pre;"> </span>$.datepicker._hideDatepicker();</p>
<p><span style="white-space: pre;"> </span>}</p>
<p><span style="white-space: pre;"> </span>$(&#8221;:input&#8221;,cc).unbind();</p>
<p><span style="white-space: pre;"> </span>nm = $t.p.colModel[iCol].name;</p>
<p><span style="white-space: pre;"> </span>$(cc).empty()</p>
<p><span style="white-space: pre;"> </span>.html($t.p.savedRow[fr].v &#124;&#124; &#8220;&#38;nbsp;&#8221;);</p>
<p><span style="white-space: pre;"> </span>//$t.p.savedRow.splice(fr,1);</p>
<p><span style="white-space: pre;"> </span>$t.p.savedRow = [];</p>
<p>&#160;}</p>
</div>
<p>Modified code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6086' value='Select Code' data-codeid='sfcode6086' /></p>
<div class='sfcode' id='sfcode6086'>
<p>if(fr != null) {</p>
<p><span style="white-space: pre;"> </span>var cc = $(&#8221;td:eq(&#8221;+iCol+&#8221;)&#8221;,$t.rows[iRow]);</p>
<p><span style="white-space: pre;"><strong> </strong></span><strong>if ($.datepicker) {</strong></p>
<p><span style="white-space: pre;"> </span>try {</p>
<p><span style="white-space: pre;"> </span>// old date picker</p>
<p><span style="white-space: pre;"> </span>$.datepicker.hideDatepicker();</p>
<p><span style="white-space: pre;"> </span>} catch (e) {</p>
<p><span style="white-space: pre;"> </span>$.datepicker._hideDatepicker();</p>
<p><span style="white-space: pre;"> </span>}</p>
<p><span style="white-space: pre;"><strong> </strong></span><strong>}</strong></p>
<p><span style="white-space: pre;"> </span>$(&#8221;:input&#8221;,cc).unbind();</p>
<p><span style="white-space: pre;"> </span>nm = $t.p.colModel[iCol].name;</p>
<p><span style="white-space: pre;"> </span>$(cc).empty()</p>
<p><span style="white-space: pre;"> </span>.html($t.p.savedRow[fr].v &#124;&#124; &#8220;&#38;nbsp;&#8221;);</p>
<p><span style="white-space: pre;"> </span>//$t.p.savedRow.splice(fr,1);</p>
<p><span style="white-space: pre;"> </span>$t.p.savedRow = [];</p>
<p>}</p>
</div>
<p>Excellent work on the Grid!</p>
<p>Thanks Guys!</p>
<p>Virgil</p>
]]></description>
        	        	<pubDate>Wed, 22 Oct 2008 22:27:44 +0300</pubDate>
        </item>
</channel>
</rss>