<?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: Function setSelection with problems for me</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me</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/function-setselection-with-problems-for-me/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>aeNR on Function setSelection with problems for me</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16753</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16753</guid>
        	        	<description><![CDATA[<p>Thx Tony, ill update my version, i hope it is the problem.</p>
]]></description>
        	        	<pubDate>Tue, 27 Apr 2010 14:57:52 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Function setSelection with problems for me</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16294</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16294</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1. SetSelection is a toggle function - if you call it first time the row will be selected. If you call it second time on the same row the row will be deselected.</p>
<p>2.Since I see that you tell me "$t.p.selrow.replace is not a function"&#160; it seems like you use some older version of jqGrid where this problem is fixed in the last release.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 12:48:09 +0300</pubDate>
        </item>
        <item>
        	<title>aeNR on Function setSelection with problems for me</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16238</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/function-setselection-with-problems-for-me#p16238</guid>
        	        	<description><![CDATA[<p>Hi everyone.</p>
<p>In my grid i have a col formated by me that shows an input type radio, what i want is when a check the radio, the row get selected.</p>
<p>this is my code:</p>
</p>
<p>in the grid colModel:</p>
<p>{name:&#39;opcion&#39;, width:35, align:&#39;center&#39;, formatter: myFunction},</p>
</p>
<p>after the grid declaration:</p>
</p>
<p>function myFunction(cellvalue, options, rowObject)<br />{<br />&#160;&#160;&#160; seleccionar = &#39;&#60;input type="radio" id="&#39;+options.rowId+&#39;" name="seleccion" onclick=" javascript: enviar(&#39;+ options.rowId +&#39;)"&#62;&#39;;<br />&#160;&#160;&#160; return&#160; seleccionar<br />}</p>
</p>
<p>function enviar(param)<br />{<br />&#160;&#160;&#160; $(&#39;#grid_bonificacion&#39;).setSelection(param);<br />&#160;&#160;&#160; ... some</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; code</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; here ...<br />}</p>
</p>
<p>the problem is it works only the first time i call it, and not properly at all because inspecting with firebug it shows something like this: $t.p.selrow.replace is not a function</p>
<p>of course if i call it again the row does&#39;t get selected.</p>
</p>
<p>would appreciate any help.</p>
<p>thx.</p>
]]></description>
        	        	<pubDate>Mon, 05 Apr 2010 16:20:21 +0300</pubDate>
        </item>
</channel>
</rss>