<?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: select and navgrid method</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-and-navgrid-method</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/select-and-navgrid-method/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on select and navgrid method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-and-navgrid-method#p13039</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-and-navgrid-method#p13039</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that this is possible</p>
<p>1. Set recreateForm to true</p>
<p>2. use the beforeInitData eveent to change the colModel editoptions values according to your conditions</p>
<p>3. Define 1 and 2 on each of the action - i.e for add and edit.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 15 Dec 2009 18:42:35 +0200</pubDate>
        </item>
        <item>
        	<title>gvnsbt on select and navgrid method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-and-navgrid-method#p12979</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-and-navgrid-method#p12979</guid>
        	        	<description><![CDATA[<p>Suppose we have:</p>
<p>jQuery(document).ready(function(){ ......&#160;</p>
</p>
<p>&#160;{name:&#39;poet&#39;, index:&#39;poet&#39;, &#160;align:&#39;right&#39;, editable:true, formatter:&#39;select&#39;, editable: true, edittype: &#39;select&#39;, editoptions:{v</p>
<p>alue:"1:Alighieri;2:Omero;3:Virgilio"}</p>
<p>.....</p>
<p>jQuery("#list").jqGrid(&#39;navGrid&#39;,&#39;#pager&#39;,{edit:true,add:true,del:true});.</p>
<p>Now&#160;&#160;suppose that there may be two records with the same name and in the display table I have two record (one with Alighieri and one with Omero). When I switch in add mode via navGrid, I must update editoption from&#160;editoptions:{value:"1:Alighieri;2:Omero;3:Virgilio"} to&#160;editoptions:{value:"3:Virgilio"}. In this manner I hope that only Virgilio name is in list. When I exit from add mode or when I refresh data view I must update the editoption value.</p>
<p>Is this possible ?</p>
<p>Is there a manner for make this?</p>
<p>Regards.</p>
<p>Giovanni.</p></p>
]]></description>
        	        	<pubDate>Mon, 14 Dec 2009 00:44:33 +0200</pubDate>
        </item>
</channel>
</rss>