<?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: to get Server answer </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer</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/to-get-server-answer/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>fxl on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1987</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1987</guid>
        	        	<description><![CDATA[<p><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /></p>
<p>My problem&#160;was only a simple detail.</p>
<p>I didn&#39;t know the responseText property. The program was ok all the time. &#160;I did not only obtain the data to see the results.</p>
<p>I have a Java Server application. This return is visible now.</p>
<p>I need to test if the server is on-line, if the register is locket, etc.</p>
<p>Thanks a lot.</p></p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 15:39:27 +0300</pubDate>
        </item>
        <item>
        	<title>fxl on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1986</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1986</guid>
        	        	<description><![CDATA[<p><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /><img class="spSmiley" style="margin:0" title="Laughing" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-laughing.gif" border="0" alt="Laughing" /></p>
<p>My problem&#160;was only a simple detail.</p>
<p>I didn&#39;t know the responseText property. The program was ok all the time. &#160;I did not only obtain the data to see the results.</p>
<p>I have a Java Server application. This return is visible now.</p>
<p>I need to test if the server is on-line, if the register is locket, etc.</p>
<p>Thanks a lot.</p></p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 15:39:25 +0300</pubDate>
        </item>
        <item>
        	<title>tony on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1981</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1981</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You should understand what is here.</p>
<p>1. status in your case is the data returned from the server. Typically thas can be xml, json,text and etc. To get the contents from server you should</p>
<p>analyze something like this <strong>status.responseText&#160; </strong></p>
<p>2. aPostdata in your case is the array (from the form) that is posted</p>
<p>to the server.</p>
<p>So my question is what&#160; do you return from server as data?</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 14:33:05 +0300</pubDate>
        </item>
        <item>
        	<title>fxl on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1978</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1978</guid>
        	        	<description><![CDATA[<p>Tony</p>
<p>Sorry for disturb you but probably my script has a litte bug because the command <span style="text-decoration: underline;">alert(server_status+" xxx "+aPostdata)</span> return the value <span style="text-decoration: underline;">[object XMLHttpRequest]&#160; xxx [object Object]</span>.&#160;I hopped the aPostdata got&#160;the value (rc=1,message=&#39;error - not update&#39;) from&#160;<strong>test.php</strong> Server.</p>
</p>
<p>Please, see the&#160;code below.</p>
<p>Regards,<br />Fernando</p>
<p>&#60;script src=jquery.js"..."jquery.jqGrid.js"...js/jqDnR.js"...js/jqModal.js ...&#62;&#160;&#160;</p>
<p>jQuery(document).ready(function(){<br />jQuery("#list2").jqGrid({</p>
<p><a href="&#39;carga_tabela.php?nd=&#39;+new" target="_blank">url:&#39;carga_tabela.php?nd=&#39;+new</a> Date().getTime(),<br />&#160;&#160;&#160; datatype: "json", colNames:[&#39;Cod.Contabil&#39;, ...... ,&#39;Total&#39;,&#39;Notes&#39;],</p>
<p>&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;id&#39;,index:&#39;id&#39;, width:55,editable:false,editoptions:{readonly:true,size:10}},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;cod_cont&#39;,index:&#39;cod_cont&#39;, align:"left",width:80,editable:true,editoptions:{size:11}}, <br />&#160;&#160;&#160; &#160;&#160; {name:&#39;nome&#39;,index:&#39;nome&#39;, width:60, align:"left",editable:true,editoptions:{size:60}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;cod_red&#39;,index:&#39;cod_red&#39;, width:5, align:"right",editable:true,editoptions:{size:10}},...</p>
<p>...</p>
<p>...</p>
<p>&#160;&#160;&#160;&#160;&#160; {name:&#39;grupo&#39;,index:&#39;grupo&#39;, width:5, sortable:true,editable:true,edittype:"text", editoptions:{rows:"2",cols:"20"}}</p>
<p>&#160;&#160;&#160; ],<br />&#160;&#160;&#160; rowNum:10, rowList:[10,20,30],&#160;pager: jQuery(&#39;#pager2&#39;),<br />&#160;&#160;&#160; sortname: &#39;id&#39;,viewrecords: true, sortorder: "asc",igpath:patch/images", <br />&#160; loadonce: true,&#160;recordtext: &#39;registros&#39;,width:400,&#160; pgbuttons: false,<br />&#160; pgtext: "---",&#160; caption: "Demo",<br />&#160; editurl:"test.php"</p>
<p>}).navGrid(&#39;#pager2&#39;,edit:true,add:false,del:true,refresh:false,search:false},</p>
<p>{closeAfterEdit:true, afterSubmit:function(status,aPostdata)<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;&#160;&#160;&#160;&#160;{ alert(status+" "+aPostdata);&#160; return[true];}</p>
<p>},</p>
<p>{},..........</p>
<p>&#60;/script&#62;&#160; <br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;table id="list2" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62; <br />&#60;div id="pager2" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;</p>
<p>...</p>
<p>...</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 13:59:39 +0300</pubDate>
        </item>
        <item>
        	<title>tony on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1962</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1962</guid>
        	        	<description><![CDATA[<p>Hello</p>
<p>Server ansver is already here</p>
<p>afterSubmit:function(server_status,aPostdata)</p>
</p>
<p>where server_status is the data returned from that server.</p>
<p>You should analyze it do something depending on it.</p>
<p>What is the data from server you should known</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 10 Sep 2008 10:01:46 +0300</pubDate>
        </item>
        <item>
        	<title>fxl on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1951</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1951</guid>
        	        	<description><![CDATA[<p>Thanks for your answer.</p>
<p>I used afterSubmit but the result was not exactly that I want.</p>
<p>&#160;I don&#39;t understand how to get the server answer.</p>
<p>.navGrid(&#39;#pager2&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;{edit:true,add:true,del:true,refresh:false,search:false},<br />&#160;&#160; &#160;&#160;&#160; &#160;{height:280,reloadAfterSubmit:false,top:20,left:30, closeAfterEdit:true, afterSubmit:function(server_status){ &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; if (server_status==0){alert("ok")}else{alert("error - server code return="+server_status)}; return[true];}}....</p>
<p>Please, help me.</p>
<p>Regards,<br />Fernando</p></p>
]]></description>
        	        	<pubDate>Tue, 09 Sep 2008 20:13:54 +0300</pubDate>
        </item>
        <item>
        	<title>tony on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1913</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1913</guid>
        	        	<description><![CDATA[<p>Use afterSubmit event for this purpose.</p>
<p>See docs</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 08 Sep 2008 03:37:24 +0300</pubDate>
        </item>
        <item>
        	<title>fxl on to get Server answer </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1910</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/to-get-server-answer#p1910</guid>
        	        	<description><![CDATA[<p>Hi Tony.</p>
<p>I am using your Navigator program to study your great Jqgrid but I don&#39;t know how&#160;to get the server answer&#160;to verify if the changes was successfull.</p>
<p>Could you help me with a sample ?</p>
<p>Regards,</p>
<p>Fernando X</p>
<p>...&#160;</p>
<p>editurl:"someurl.php",&#160; // &#60;-------------------- How to get the return ?</p>
<p>...</p>
<p>navGrid(&#39;#pagernav&#39;,</p>
<p>&#160;{true,true,true,false},</p>
<p>{height:280,reloadAfterSubmit:true},</p>
<p>...</p></p>
]]></description>
        	        	<pubDate>Sat, 06 Sep 2008 22:30:09 +0300</pubDate>
        </item>
</channel>
</rss>