<?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: Using events</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/using-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/using-events/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18957</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18957</guid>
        	        	<description><![CDATA[<p>Finally,</p>
<p>Tks OlegK and ujavid.</p>
]]></description>
        	        	<pubDate>Wed, 04 Aug 2010 01:20:12 +0300</pubDate>
        </item>
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18956</guid>
        	        	<description><![CDATA[<p>Finally,</p>
<p>Tks OlegK and ujavid.</p>
]]></description>
        	        	<pubDate>Wed, 04 Aug 2010 01:20:12 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18923</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18923</guid>
        	        	<description><![CDATA[<p>No I mean what I wrote. The function&#160;<strong>navGrid</strong> has some parameters</p>
<p>jQuery("#grid_id").jqGrid(&#39;navGrid&#39;,&#39;#gridpager&#39;,{parameters},prmEdit, prmAdd, prmDel, prmSearch, prmView);</p>
<p>(see /jqgridwiki/doku.php?id=wiki:navigator). Every from the parameters like prmEdit will be forwarded to for example to editGridRow method if you click on the edit button of the navigator (see /jqgridwiki/doku.php?id=wiki:form_editing#editgridrow). So if you want to use <strong>onclickSubmit</strong> for form editing you can use it like I showed it in the previous example.</p>
]]></description>
        	        	<pubDate>Tue, 03 Aug 2010 00:59:37 +0300</pubDate>
        </item>
        <item>
        	<title>ujavid on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18922</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18922</guid>
        	        	<description><![CDATA[<p>Do you mean something like this:</p>
<p>&#160;&#160;&#160; jQuery("#list").jqGrid(&#39;editGridRow&#39;,"new",{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; addCaption: "Add new record",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; closeAfterAdd : true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; beforeSubmit : function(postdata, formid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //do stuff<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; onclickSubmit : function(params) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //do stuff<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return data;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });</p>
]]></description>
        	        	<pubDate>Mon, 02 Aug 2010 22:47:09 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18920</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18920</guid>
        	        	<description><![CDATA[<p>OK here is an example:</p>
<p>jQuery(&#39;#list&#39;).jqGrid({<br />&#160;&#160; &#160;// ...<br /><span style="font-size: 13.8889px;">}).navGrid(&#39;#pager&#39;,{ search: false },<br /></span><span style="font-size: 13.8889px;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; { mtype: "PUT",<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;onclickSubmit: function(rp_ge, postdata) {<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;rp_ge.url = urlEdit + &#39;/&#39; + postdata.id;<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; });</span></p>
<p><span style="font-size: 13.8889px;">In this example I define, that I will use form edit, but use a RESTful service to send modified data. Instead of HTTP "POST" request will be used HTTP "PUT" and the URL will be appended with &#39;/&#39; and id of editing row.</span></p>
]]></description>
        	        	<pubDate>Mon, 02 Aug 2010 22:15:05 +0300</pubDate>
        </item>
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18919</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18919</guid>
        	        	<description><![CDATA[<p>Does nobody knows how to use the documentation?</p>
<p>/jqgridwiki/doku.php?id=wiki:form_editing</p>
]]></description>
        	        	<pubDate>Mon, 02 Aug 2010 21:56:25 +0300</pubDate>
        </item>
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18904</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18904</guid>
        	        	<description><![CDATA[<p>UP</p>
]]></description>
        	        	<pubDate>Sun, 01 Aug 2010 23:24:57 +0300</pubDate>
        </item>
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18887</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18887</guid>
        	        	<description><![CDATA[<p>Nobody? 🙁</p>
]]></description>
        	        	<pubDate>Fri, 30 Jul 2010 20:27:39 +0300</pubDate>
        </item>
        <item>
        	<title>onaiggac on Using events</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/using-events#p18874</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/using-events#p18874</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Im new in jQuery and need some help.</p>
<p>How can I use the <strong>onclickSubmit</strong>&#160;event in the edit submit button?</p>
<p>Can someone give me a simple code?</p>
</p>
<p>Tks</p>
]]></description>
        	        	<pubDate>Fri, 30 Jul 2010 01:13:45 +0300</pubDate>
        </item>
</channel>
</rss>