<?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: Cannot auto focus in custom cell edit control</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/cannot-auto-focus-in-custom-cell-edit-control</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/cannot-auto-focus-in-custom-cell-edit-control/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Cannot auto focus in custom cell edit control</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cannot-auto-focus-in-custom-cell-edit-control#p18241</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cannot-auto-focus-in-custom-cell-edit-control#p18241</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If it is a custom, you should make this with custom code.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 28 Jun 2010 12:00:15 +0300</pubDate>
        </item>
        <item>
        	<title>luweipan on Cannot auto focus in custom cell edit control</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/cannot-auto-focus-in-custom-cell-edit-control#p18217</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/cannot-auto-focus-in-custom-cell-edit-control#p18217</guid>
        	        	<description><![CDATA[<p><span style="white-space: pre;"> </span>In cell edit mode(cellEdit: true). The grid focus in the edit control when I click the cell. When I use custom edit control. The grid cannot focus in the edit control.</p>
<p><span style="white-space: pre;"> </span>The grid will wrap the custom edit control with "&#60;span&#62;". &#160;The grid should focus in the custom edit control , not the span.</p>
<blockquote>
<p>case "custom" :</p>
<p><span style="white-space: pre;"> </span><strong>elem = document.createElement("span");</strong></p>
<p><span style="white-space: pre;"> </span>try {</p>
<p><span style="white-space: pre;"><span style="white-space: pre;"> </span> </span>if(jQuery.isFunction(options.custom_element)) {</p>
<p><span style="white-space: pre;"><span style="white-space: pre;"> </span> </span>var celm = options.custom_element.call(this,vl,options);</p>
<p><span style="white-space: pre;"><span style="white-space: pre;"> </span> </span>if(celm) {</p>
<p><span style="white-space: pre;"><span style="white-space: pre;"> </span> </span>celm = jQuery(celm).addClass("customelement").attr({id:options.id,name:options.name});</p>
<p><span style="white-space: pre;"><span style="white-space: pre;"> </span> </span>jQuery(elem).empty().append(celm);</p>
</p>
</blockquote>
]]></description>
        	        	<pubDate>Sat, 26 Jun 2010 14:49:21 +0300</pubDate>
        </item>
</channel>
</rss>