<?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: Navgrrid Events.</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events</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/navgrrid-events/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>gvnsbt on Navgrrid Events.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13296</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13296</guid>
        	        	<description><![CDATA[<p>I found this workaround, I set&#160;closeAfterAdd parameter to true.</p>
<p>In this manner when the data is added the add grid is closed and when I insert new record I open the grid again.</p>
<p>In this manner all evets are fires again.</p>
</p>
<p>Regards.</p>
</p>
<p>Giovanni.</p></p>
]]></description>
        	        	<pubDate>Thu, 24 Dec 2009 14:15:01 +0200</pubDate>
        </item>
        <item>
        	<title>gvnsbt on Navgrrid Events.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13288</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13288</guid>
        	        	<description><![CDATA[</p>
<p>ERRATA CORRIGE.</p>
</p>
<p>Hello Tony thanks for your answer,&#160;</p>
<p>I tried to read the documentation again and I tried to make other test, but I&#160;could not solve the problem.</p>
<p>I saw that the execution of events is:</p>
<p>- First time via Add Navigator Button the events sequence is:</p>
<p><span> </span>- &#160;1)&#160;<strong>beforeInitData;</strong></p>
<p><span> </span>- &#160;2)&#160;<strong>beforeShowForm;</strong></p>
<p><span> </span>- &#160;3)&#160;<em>Open form for add data;</em></p>
<p><span> </span>- &#160;4)&#160;<strong>onclickSubmit</strong>&#160;(when submit button is pressed);</p>
<p><span> </span>- &#160;5)&#160;<strong>afterSubmit;</strong></p>
<p><span> </span>- &#160;6) reload of main grid and reset of fields add form data;</p>
<p><span> </span>- &#160;7)&#160;<strong>afterCompleted</strong>;&#160;</p>
<p><span> </span>- &#160;8)&#160;<strong>onClose</strong>; when I close the form add grid (opened in 3) step)</p>
<p>- In&#160;beforeInitData event the funtion exec&#160;jQuery(&#8221;#list&#8221;).setColProp(&#39;id_player&#39;,{editoptions:{value: SelezioneNominativi(&#8221;httpd://localhost/<strong>id_not_in_grid.php</strong>&#8220;) &#8230;. ;</p>
<p>- in the 3) step I can select the ID of player not is present int the main grid and add it into team table (EXAMPLE: player Jordan id added in the team);</p>
<p>- in the 5) step the function exec &#160;jQuery(&#8221;#list&#8221;).setColProp(&#39;id_player&#39;,{editoptions:{value: SelezioneNominativi(&#8221;httpd://localhost/i<strong>d_in_grid.php</strong>&#8220;), in this manner the reload of main grid is work well;</p>
<p>- Now if in 7) step I can exec&#160;jQuery(&#8221;#list&#8221;).setColProp(&#39;id_player&#39;,{editoptions:{value:SelezioneNominativi(&#8221;httpd://localhost/<strong>i</strong><strong>d_not_in_grid</strong>.php&#8221;) in the form add I continue to have the list of 5) step (EXAMPLE: I continue to view the Jordan player while the return list of&#160;httpd://localhost/<strong>i</strong><strong>d_not_in_grid</strong>.php is correct.);&#160;</p>
<p>- in 7) step I tried to exec the trigger(&#8221;reloadGrid&#8221;) method but I have not effect.</p>
</p>
<p>After first insert record the events 1) and 2) is not fire.</p>
</p>
<p>I&#39;m obviously doing something wrong.</p>
<p>Regards.</p>
</p>
<p>Giovanni.</p>
]]></description>
        	        	<pubDate>Wed, 23 Dec 2009 19:19:25 +0200</pubDate>
        </item>
        <item>
        	<title>gvnsbt on Navgrrid Events.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13287</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13287</guid>
        	        	<description><![CDATA[<p>Hello Tony thanks for your answer,&#160;</p>
<p>I tried to read the documentation again and I tried to make other test, but I&#160;could not solve the problem.</p>
<p>I saw that the execution of events is:</p>
<p>- First time via Add Navigator Button the events sequence is:</p>
<p><span style="white-space: pre;"> </span>- &#160;1) <strong>beforeInitData;</strong></p>
<p><span style="white-space: pre;"> </span>- &#160;2) <strong>beforeShowForm;</strong></p>
<p><span style="white-space: pre;"> </span>- &#160;3)&#160;<em>Open form for add data;</em></p>
<p><span style="white-space: pre;"> </span>- &#160;4) <strong>onclickSubmit</strong> (when submit button is pressed);</p>
<p><span style="white-space: pre;"> </span>- &#160;5) <strong>afterSubmit;</strong></p>
<p><span style="white-space: pre;"> </span>- &#160;6) reload of main grid and reset of fields add form data;</p>
<p><span style="white-space: pre;"> </span>- &#160;7) <strong>afterCompleted</strong>;&#160;</p>
<p><span style="white-space: pre;"> </span>- &#160;8) <strong>onClose</strong>; when I close the form add grid (opened in 3) step)</p>
<p>- In&#160;beforeInitData event the funtion exec&#160;jQuery("#list").setColProp(&#39;id_player&#39;,{editoptions:{value: SelezioneNominativi("httpd://localhost/<strong>id_not_in_grid.php</strong>") .... ;</p>
<p>- in the 3) step I can select the ID of player not is present int the main grid and add it into team table;</p>
<p>- in the 5) step the function exec &#160;jQuery("#list").setColProp(&#39;id_player&#39;,{editoptions:{value: SelezioneNominativi("httpd://localhost/i<strong>d_in_grid.php</strong>"), in thi manner the reload of main grid is work well;</p>
<p>- Now if in 7) step I can exec&#160;jQuery("#list").setColProp(&#39;id_player&#39;,{editoptions:{value: SelezioneNominativi("httpd://localhost/<strong>i</strong><strong>d_not_in_grid</strong>.php") in the form add I continue to have the list of 5) step;</p>
<p>- in 7) step I tried to exec the trigger("reloadGrid") method but I have not effect.</p>
</p>
<p>After first insert record the events 1) and 2) is not fire.</p>
</p>
<p>I&#39;m obviously doing something wrong.</p>
<p>Regards.</p>
</p>
<p>Giovanni.</p>
]]></description>
        	        	<pubDate>Wed, 23 Dec 2009 19:06:39 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Navgrrid Events.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13252</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13252</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Look here carefully</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ditgridrow</a></p>
<p>What about beforeSubmit event</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 22 Dec 2009 10:52:59 +0200</pubDate>
        </item>
        <item>
        	<title>gvnsbt on Navgrrid Events.</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13222</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrrid-events#p13222</guid>
        	        	<description><![CDATA[<p>I did some tests about Navgrid.</p>
<p>I followed the indications from precedent topic about the recreateForm parameter and beforeInitData event.</p>
<p>I tried afterSubmit event too.</p>
<p>When I open the add form via Navgrid:</p>
<p><span style="white-space: pre;"> </span>-&#160;the beforeInitData is fire (via&#160;setColProp cal I can column data);</p>
<p><span style="white-space: pre;"> </span>- when I finished to compile form and I confirm via submit button the afterSubmit event fire and I can exec&#160;setColProp method;</p>
<p><span style="white-space: pre;"> </span>- if the data (via editurl cgi) are entered without errors then the add form field is reset but the&#160;beforeInitData event is not fire.</p>
<p>I read the documentation but I have not found the event &#160;to fire before the &#160;field form is reset.</p>
<p>I possible call a method for trigger a particular event listed in argument?&#160;</p>
</p>
<p>Giovanni.</p>
<p>P.S.&#160;<span title="Un gran bel lavoro">&#160;You have done a great job !!!</span></p>
]]></description>
        	        	<pubDate>Mon, 21 Dec 2009 19:13:46 +0200</pubDate>
        </item>
</channel>
</rss>