<?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: Problem with addRowData ( $.jgrid.stripHtml(v))</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-addrowdata-jgridstriphtmlv</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/problem-with-addrowdata-jgridstriphtmlv/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>alexhome on Problem with addRowData ( $.jgrid.stripHtml(v))</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-addrowdata-jgridstriphtmlv#p9115</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-addrowdata-jgridstriphtmlv#p9115</guid>
        	        	<description><![CDATA[<p>I download latest version 3.5.2 31.08.2008.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2086' value='Select Code' data-codeid='sfcode2086' /></p>
<div class='sfcode' id='sfcode2086'>DealerTable = $(&#8221;#dealertable&#8221;).jqGrid({<br />&#160;       scrollrows: true,<br />&#160;       datatype: &#8220;local&#8221;,<br />&#160;       colNames: [&#39;&#39;, &#39;Ð˜Ð¼Ñ&#39;,&#39;Ð›Ð¾Ð³Ð¸Ð½&#39;, &#39;ÐšÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ð¹&#39;, &#39;ÐžÐ±ÑŠÐµÐºÑ‚Ð¾Ð²&#39;],<br />&#160;       colModel: [<br />&#160;  		            { name: &#39;IDDealer&#39;, index: &#39;IDDealer&#39;, width: 0, sorttype: "int", key: true, hidden: true },<br />&#160;  		            { name: &#39;DRName&#39;, index: &#39;DRName&#39;, width: 150, sorttype: "string" },<br />&#160;  		            { name: &#39;LLogin&#39;, index: &#39;LLogin&#39;, width: 150, sorttype: "string" },<br />&#160;  		            { name: &#39;CompanyCount&#39;, index: &#39;CompanyCount&#39;, width: 100, sorttype: "int" },<br />&#160;  		            { name: &#39;DeviceCount&#39;, index: &#39;DeviceCount&#39;, width: 100, sorttype: "int" }<br />&#160;  	               ],<br />&#160;       scrollrows: false,<br />&#160;       multiselect: false,<br />&#160;       onSelectRow: function(id) {<br />&#160;           CDealer = DealerTable.getRowData(id);<br />&#160;           //&#8212;&#8212;&#8212;&#8212; Ð¿Ð¾Ð´ÑÐ²ÐµÑ‚ÐºÐ° ÑÑ‚Ñ€Ð¾ÐºÐ¸ Ð¿Ð¾ Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸ÑŽ ÑÐ»ÐµÐ¼ÐµÐ½Ñ‚Ð° td<br />&#160;           $(&#8221;#devicetable tr&#8221;).removeClass(&#8221;highlight&#8221;);<br />&#160;           $(&#8221;#devicetable td:nth-child(6)[title=&#39;" + CDealer.IDDealer + "&#39;]&#8220;).parent().addClass(&#8221;highlight&#8221;);</p>
<p>&#160;       },<br />&#160;       ondblClickRow: function(id) {<br />&#160;           location.replace(&#8221;/Admin/Dealer?IDDealer=&#8221; + id);<br />&#160;       }<br />&#160;   });</p>
</div>
<p>&#160;On command:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3898' value='Select Code' data-codeid='sfcode3898' /></p>
<div class='sfcode' id='sfcode3898'>for (var i = 0; i &#60; result.length; i++) <br />&#160; &#160; &#160;&#160; DealerTable.addRowData(resul[i].IDDealer, result[i]);</div>
<p>i have error on line 1593 in grid.base.js:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6757' value='Select Code' data-codeid='sfcode6757' /></p>
<div class='sfcode' id='sfcode6757'>row += &#8220;&#60;td role=\\&#8221;gridcell\\&#8221; &#8220;+prp+&#8221; title=\\&#8221;&#8221;+$.jgrid.stripHtml(v)+&#8221;\\&#8221;&#62;&#8221;+v+&#8221;&#60;/td&#62;&#8221;;</div>
<p>if i change version to 3.5 Beta, all works normally</p>
</p>
<p>iam sorry in not in this topic,</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 08:09:11 +0300</pubDate>
        </item>
</channel>
</rss>