<?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: setRowData doesn't insert data correctly into column - please assist.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist</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/setrowdata-doesnt-insert-data-correctly-into-column-please-assist/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ram2010 on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14480</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14480</guid>
        	        	<description><![CDATA[<p>Tony that fixed it!.. You are a star <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
</p>
<p>I set autoencode to false on my grid declaration and it did the trick!</p>
</p>
<p>Thank you!</p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 20:38:20 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14468</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14468</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What is the default setting for the autoencode option of this plugin</p>
<p>Try to set autoencode to false</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 13:01:28 +0200</pubDate>
        </item>
        <item>
        	<title>ram2010 on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14466</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14466</guid>
        	        	<description><![CDATA[<p>Hi</p>
</p>
<p>I am using the strut2-jquery pugin 1.8.1. (will be upgrading shortly to plugin 1.8.2 but dont think it will fix this issue).</p>
</p>
<p>I posted this as a bug on the jquery plugin but it was rejected as invalid.&#160;</p>
<p>&#160;<a href="http://code.google.com/p/struts2-jquery/issues/detail?id=68&#160;will" rel="nofollow" target="_blank"><a href="http://code.google.com/p/strut" rel="nofollow">http://code.google.com/p/strut</a>.....&#160;will</a> show you an image as to what appears &#38; gives extra info.&#160;</p>
<p>I was told to ask about this issue in this forum.</p>
<p>This happens on both IE 8 &#38; Firefox 3.6</p>
</p>
<p>Maybe it could be a bug on the plugin js file itself. Although I am not sure. Or maybe its something I am doing.&#160;&#160;</p>
<p>Below&#160;is all I have in my jsp code similar to the one posted in that forum:</p>
<p align="left">&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4678' value='Select Code' data-codeid='sfcode4678' /></p>
<div class='sfcode' id='sfcode4678'>
<p align=&#34;left&#34;>&#160;</p>
<p>&#60;script type=<em>&#34;text/javascript&#34;&#62;</em></p>
<p>(</p>
<p align=&#34;left&#34;><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong>.....</strong></p>
<p align=&#34;left&#34;><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong>$.</strong>subscribe(&#39;complete&#39;, function(request) {</p>
<p align=&#34;left&#34;><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong>&#160;&#160;&#160;&#160; jQuery(&#34;#gridedittable&#34;).jqGrid(&#39;setRowData&#39;,1,{note:&#34;&#60;img src=&#39;images/user1.gif&#39;/&#62;&#34;});</strong></p>
<p>});</p>
<p align=&#34;left&#34;><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong></strong><strong>&#60;/script&#62;</strong></p>
<p align=&#34;left&#34;><strong>&#160;</strong>&#160;</p>
<p align=&#34;left&#34;><strong>&#160;</strong>&#160;</p>
<p align=&#34;left&#34;><strong>&#60;sj:grid id=<em>&#34;gridedittable&#34; caption=</em><em>&#34;%{getText(&#39;label.document&#39;)}&#34; </em></strong></p>
<p align=&#34;left&#34;><strong><em></em><em>dataType=</em><em>&#34;json&#34; href=</em><em>&#34;%{remoteurl}&#34; pager=</em><em>&#34;true&#34; navigator=</em><em>&#34;true&#34; </em></strong></p>
<p>navigatorSearchOptions=<em>&#34;{sopt:[&#39;eq&#39;,&#39;ne&#39;,&#39;lt&#39;,&#39;gt&#39;]}&#34; </em></p>
<p align=&#34;left&#34;>navigatorAddOptions=<em>&#34;{height:500,reloadAfterSubmit:true,closeAfterAdd:true}&#34; </em></p>
<p align=&#34;left&#34;>navigatorEditOptions=<em>&#34;{height:500,reloadAfterSubmit:true,closeAfterEdit:true}&#34; </em></p>
<p align=&#34;left&#34;>navigatorDeleteOptions=<em>&#34;{height:200,reloadAfterSubmit:true}&#34; </em></p>
<p align=&#34;left&#34;>navigatorEdit=<em>&#34;false&#34; </em></p>
<p align=&#34;left&#34;>navigatorView=<em>&#34;false&#34; </em></p>
<p align=&#34;left&#34;>navigatorDelete=<em>&#34;true&#34; </em></p>
<p align=&#34;left&#34;>gridModel=<em>&#34;gridModel&#34; </em></p>
<p align=&#34;left&#34;>rowList=<em>&#34;15,30,45&#34; </em></p>
<p align=&#34;left&#34;>rowNum=<em>&#34;15&#34; </em></p>
<p align=&#34;left&#34;>editurl=<em>&#34;%{editurl}&#34; </em></p>
<p align=&#34;left&#34;>editinline=<em>&#34;true&#34; </em></p>
<p align=&#34;left&#34;>filter=<em>&#34;true&#34; </em></p>
<p align=&#34;left&#34;>rownumbers=<em>&#34;true&#34; </em></p>
<p align=&#34;left&#34;>onCompleteTopics=<em>&#34;complete&#34; &#62; </em></p>
<p align=&#34;left&#34;>&#160;</p>
<p align=&#34;left&#34;>&#160;</p>
<p>&#60;sj:gridColumn name=<em>&#34;note&#34; index=</em><em>&#34;note&#34; title=</em><em>&#34;note&#34; sortable=</em><em>&#34;false&#34; width=</em><em>&#34;300&#34;/&#62; &#60;/sj:grid&#62;</em></p>
</div>
<p>Thanks for your help</p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 12:43:10 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14432</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14432</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is very strange, because we use tha same code into the demo and the result is diffrent.</p>
<p>Also somthing else shoyuld brake the result. Any other grid options?</p>
<p>Which version is used and in which browsers is this?</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 01 Feb 2010 08:47:11 +0200</pubDate>
        </item>
        <item>
        	<title>ram2010 on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14384</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14384</guid>
        	        	<description><![CDATA[<p>Hi Tony</p>
</p>
<p>Thanks for your reply. The thing is I am not seeing the image frame either. All I see in the column field is the plain text:&#160;&#160;&#160;&#160;&#160;&#160; &#160;img src=&#39;images/user1.gif&#39;/</p>
</p>
<p>Assuming the image path is correct should my jquery statment below include the actual image or is the syntax wrong?:</p>
<p>jQuery("#gridedittable").jqGrid(&#39;setRowData&#39;,ret.rn,{note:"&#60;img src=&#39;images/user1.gif&#39;/&#62;"});</p>
</p>
<p>I Appreciate your expert help!</p>
]]></description>
        	        	<pubDate>Fri, 29 Jan 2010 01:41:20 +0200</pubDate>
        </item>
        <item>
        	<title>tony on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14363</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14363</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Be a sure that this is the correct path to the image. This can be seen very well in IE browsers - if the path to the image is not correct you will see only image frame.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 28 Jan 2010 17:47:25 +0200</pubDate>
        </item>
        <item>
        	<title>ram2010 on setRowData doesn't insert data correctly into column - please assist.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14310</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setrowdata-doesnt-insert-data-correctly-into-column-please-assist#p14310</guid>
        	        	<description><![CDATA[<p>I have an sj:grid with 1 column say &#38; set onCompleteTopics="complete" to call a function after grid is loaded.</p>
<p>The&#160;complete function should call setRowData and insert the data properly.</p>
<p>I call jQuery("#gridedittable").jqGrid(&#39;setRowData&#39;,ret.rn,{note:"&#60;img src=&#39;images/user1.gif&#39;/&#62;"});</p>
<p>on&#160; my column:<br />&#60;sj:gridColumn name="note" index="note" title="note" sortable="false" width="300"/&#62;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</p>
<p>This should insert an image into the column. Instead it just inserts the text into the column.</p>
<p>The grid demo at <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....qgrid.html</a> places the <strong>actual image into the field</strong>. (click on menu item: Manipulating-&#62;Grid Data)</p>
</p>
<p>However my column will get added only data in the column itself &#38; not the image:&#60;img src=&#39;images/user1.gif&#39;/&#62;</p>
</p>
<p>Anyone with any ideas why it works in that example and not in my one?&#160;could this be a bug in the sjquery plugin for struts?</p></p>
]]></description>
        	        	<pubDate>Wed, 27 Jan 2010 13:28:04 +0200</pubDate>
        </item>
</channel>
</rss>