<?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: jqGrid 4.5.4 Not Adding Quotes Around Additional Attributes</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-4-5-4-not-adding-quotes-around-additional-attributes</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/jqgrid-4-5-4-not-adding-quotes-around-additional-attributes/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>enash on jqGrid 4.5.4 Not Adding Quotes Around Additional Attributes</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-4-5-4-not-adding-quotes-around-additional-attributes#p29779</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-4-5-4-not-adding-quotes-around-additional-attributes#p29779</guid>
        	        	<description><![CDATA[<p>In trying to add a title attribute with spaces to my row using the rowattr callback, I noticed only the first word was being displayed on mouse over. &#160;A little investigation reveals that while building the restAttr variable, no quotes are added around the attribute value. Here&#39;s my code for setting the title:</p>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit4272' value='Select Code' data-codeid='sfcode4272' /></p><div class='sfcode' id='sfcode4272'>rowattr:&#160;function&#160;(rd)&#160;{ <span style=&#34;white-space: pre;&#34;> </span>return&#160;{&#160;&#39;title&#39;:&#160;&#39;hello&#160;world&#39;&#160;} }</div>And here&#39;s a patch for fixing the issue</pre>
<pre><p><input type='button' class='sfcodeselect' name='sfselectit8148' value='Select Code' data-codeid='sfcode8148' /></p><div class='sfcode' id='sfcode8148'>--- js/jquery.jqGrid.src.js	Fri Nov 01 12:35:20 2013 +++ js/jquery.jqGrid.src.js	Fri Nov 01 12:53:45 2013 @@ -1223 +1223 @@ -						restAttr += &#39; &#39; + attrName + &#39;=&#39; + rowAttrObj[attrName]; +						restAttr += &#39; &#39; + attrName + &#39;=&#34;&#39; + rowAttrObj[attrName] + &#39;&#34;&#39;; --- src/grid.base.js	Fri Nov 01 12:35:21 2013 +++ src/grid.base.js	Fri Nov 01 13:38:44 2013 @@ -1223 +1223 @@ -						restAttr += &#39; &#39; + attrName + &#39;=&#39; + rowAttrObj[attrName]; +						restAttr += &#39; &#39; + attrName + &#39;=&#34;&#39; + rowAttrObj[attrName] + &#39;&#34;&#39;;</div></pre>
]]></description>
        	        	<pubDate>Fri, 01 Nov 2013 21:07:36 +0200</pubDate>
        </item>
</channel>
</rss>