<?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: jqGridImport and Navigator buttons</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons</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/jqgridimport-and-navigator-buttons/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGridImport and Navigator buttons</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p6157</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p6157</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Will be added in xml too. In order to be all ok the event should be call whitin the steatement</p>
<pre>if(stat == &#39;success&#39;) {<br />...<br />}<br />Regards<br />Tony</pre>
]]></description>
        	        	<pubDate>Mon, 20 Apr 2009 06:30:29 +0300</pubDate>
        </item>
        <item>
        	<title>jeff on jqGridImport and Navigator buttons</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p6122</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p6122</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Thanks for the idea!</p>
<p>Here&#39;s the same thing, but with a check to make sure the callback exists. Also I&#39;m not sure why you&#39;re using the call() method. You can just call the function directly:</p>
<pre>case &#39;json&#39;:
    $.ajax({
        url:o.impurl,
        type:o.mtype,
        data: o.impData,
        dataType:"json",
        complete: function(json,stat) {
            if(stat == &#39;success&#39;) {
                JsonConvert(json.responseText,o );
                json=null;
            }

            <span style="color: #ff0000;">if($.isFunction(o.importComplete))
                o.importComplete();</span>
        }
    });
    break;
</pre>
</p>
<p>Thanks,<br />&#8211;jeff&#160;</p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 20:20:45 +0300</pubDate>
        </item>
        <item>
        	<title>dariorusso on jqGridImport and Navigator buttons</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p5513</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p5513</guid>
        	        	<description><![CDATA[<p>I solved the problem modifying the "grid.import.js" file.</p>
<p>I have added just one line (for json, for xml the same line can be added), the one in red below.In this way I can provide an importComplete callback function in the jqGridImport. Obviously, to make it more stable, I should check if the callback function has been provided.</p>
</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; case &#39;json&#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; $.ajax({<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; url: o.impurl,<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; type: o.mtype,<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; data: o.impData,<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; dataType: "json",<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; complete: function(json, stat) {<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;&#160;&#160;&#160; if (stat == &#39;success&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; JsonConvert(json.responseText, o);<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;&#160;&#160;&#160;&#160;&#160;&#160;&#160; json = null;<br /><span style="color: #ff0000;">&#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; o.importComplete.call();<br /></span>&#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; }<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; }<br />&#160;&#160;&#160;&#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; break;</p></p>
]]></description>
        	        	<pubDate>Sun, 22 Mar 2009 19:04:51 +0200</pubDate>
        </item>
        <item>
        	<title>dariorusso on jqGridImport and Navigator buttons</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p5512</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-and-navigator-buttons#p5512</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>&#160;when I use the jqGridImport, it does not add the buttons in the navigator (for example, the refresh button)</p>
<p>In order to do so, I should call the navgrid method, but, if I do it just after the jqGridImport method, it does not work, because the jqGridImport is not yet completed.</p>
<p>example:</p>
<p>&#160;&#160;&#160;&#160; $(&#8221;#list2&#8243;).jqGridImport({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; impurl: &#8220;/CRUDPage/getTableFormat&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imptype: &#8220;json&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#8220;GET&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; impData: {},<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160; jsonGrid: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config: &#8220;grid&#8221;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160; $(&#8221;#list2&#8243;).navGrid(&#8221;#pager2&#8243;, { refresh: true, edit: false, add: false, del: false, search: false });</p>
</p>
<p>It would help if there was an event as ImportFinished, or something similar.</p>
<p>Any tip?</p>
]]></description>
        	        	<pubDate>Sun, 22 Mar 2009 18:33:24 +0200</pubDate>
        </item>
</channel>
</rss>