<?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: grid updates</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates</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/discussion/grid-updates/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3912</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3912</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1.It is a new option. It is not in the pdf, but in the documentation page. I suggest to use online docs if possible. (will update the pdf soon)</p>
<p>2. If you are sure that the edit form already exixsts you should provide the data not as&#160; value:text;...., but as true &#60;option value=&#39;1&#39;&#62;text1&#60;/option&#62;...</p>
<p>then</p>
<p>if( $("#editmodMyGrid").html() !=null) // we have the modal</p>
<p>$("#myselect").empty().html(the_request_here);</p>
<p>}</p>
<p>Where MyGrid is the id of the grid and myselect&#160; is the name from colModel of the select.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 09 Jan 2009 08:55:32 +0200</pubDate>
        </item>
        <item>
        	<title>dhoover on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3899</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3899</guid>
        	        	<description><![CDATA[<p>Thanks Tony. As to #1, is that in the documentation someplace? I looked in the PDF and couldn&#39;t find it.</p>
<p>As to #2, I don&#39;t understand what you are saying in the first 2 sentences. And, I am attempting to update the select with the ajax $.get call. Or is that not what you mean?</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 15:14:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3876</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3876</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Ok. I understand what you mean. This will not work in your case. The problem is that you already call for the first time the edit form. This form contain the already select options. You have IMHO two possible solutions.</p>
<p>1. Use the code provided from you und the option recreateForm: true</p>
<p>This will cause every time when you cal the form to be recreated with the new values from select.</p>
<p>2. Check to see if the edit form exists and only modify the select option of the field. If the form does not exists it is not needed to do anything. Also you need to write your own code to update the select.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 08:43:13 +0200</pubDate>
        </item>
        <item>
        	<title>dhoover on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3847</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3847</guid>
        	        	<description><![CDATA[<p>I have this same code in both grids:</p>
<p>loadComplete: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.get(&#39;xdb.php?oper=pulldown&#38;entity=domain_registrar&#39;, null, function(myselects, status) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (status == "success")<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var colProps = $(&#39;#domains-list&#39;).getColProp(&#39;registrar&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colProps.edittype = &#39;select&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colProps.editoptions = {value: myselects};<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#domains-list&#39;).setColProp(&#39;registrar&#39;, colProps);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
</p>
<p>but that does not seem to do what I want, which is to update the grid containing the select pulldown based on change to the other grid.</p>
<p>I have the options for the grids set to reoladAfterSubmit for add, edit, and del operations.</p>
]]></description>
        	        	<pubDate>Tue, 06 Jan 2009 18:07:04 +0200</pubDate>
        </item>
        <item>
        	<title>tony on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3802</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3802</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do you have try getColProp, setColProp methods?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 05 Jan 2009 02:08:49 +0200</pubDate>
        </item>
        <item>
        	<title>dhoover on grid updates</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3781</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/grid-updates#p3781</guid>
        	        	<description><![CDATA[<p>I have 2 grids on one page. One of the grids (A) has a column of edittype select that is populated by options from rows of the other grid (B: in this case I do not want to use subgrid). If the rows in B change (primarily adds and deletes), I want that to be reflected in the add/edit form in A. I am currently able to update the options, but I do not know how to do it in all cases.</p>
<p>I have been experimenting with various events in both grids, but still do not have a complete solution. Any ideas?</p>
]]></description>
        	        	<pubDate>Sat, 03 Jan 2009 18:55:11 +0200</pubDate>
        </item>
</channel>
</rss>