<?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 example?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example</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-example/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jlb30504 on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5043</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5043</guid>
        	        	<description><![CDATA[<p>Thanks Tony,</p>
<p>Works like a champ!&#160; Not sure how I missed GridUnload method.&#160; I tried remove and empty but GridUnload was what I needed.</p>
<p>Jerry</p>
]]></description>
        	        	<pubDate>Sun, 01 Mar 2009 09:46:23 +0200</pubDate>
        </item>
        <item>
        	<title>tony on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5042</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5042</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you want to do that you can&#160; use GridUnload method&#160; on constructed grid and then applay again import</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 01 Mar 2009 08:08:11 +0200</pubDate>
        </item>
        <item>
        	<title>jlb30504 on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5014</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5014</guid>
        	        	<description><![CDATA[<p>Jean,</p>
<p>Thanks for the suggestion but it didn&#39;t work.&#160; The Grid reloads but the configuration is not changed.</p>
<p>Jerry</p>
]]></description>
        	        	<pubDate>Sat, 28 Feb 2009 12:40:19 +0200</pubDate>
        </item>
        <item>
        	<title>jean on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5013</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5013</guid>
        	        	<description><![CDATA[<p>I didn&#39;t try, but maybe a</p>
<p>$(&#8221;#mytable&#8221;).trigger(&#8221;reloadGrid&#8221;);</p>
<p>or in your case:</p>
<p>function burial() { <br />&#160;$(&#8221;#list&#8221;).jqGridImport({impurl:&#8221;testxml.xml&#8221;, imptype: &#8220;xml&#8221;}).trigger("reloadGrid");<br />&#160;alert( $(&#8221;#list&#8221;).jqGridExport({exptype: &#8220;xmlstring&#8221;}) );<br />}//end burial</p>
<p>would help.</p>
<p>Cheers, jean</p>
]]></description>
        	        	<pubDate>Sat, 28 Feb 2009 11:26:35 +0200</pubDate>
        </item>
        <item>
        	<title>jlb30504 on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5012</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5012</guid>
        	        	<description><![CDATA[<p>OK, sorry, I had some coding issues above.&#160; I am now able to get the testxml.xml file to load.&#160; I did this by not defining the grid in the ready() but instead loading from testxml.xml to start the grid.&#160;</p>
<p>Is the expected behavior of jqGridImport?&#160; I thought that I could use jqGridImport to change the Grid definition.&#160; It now appears that I can only use it for the intiial loading.&#160; Is this correct?</p>
]]></description>
        	        	<pubDate>Sat, 28 Feb 2009 09:13:03 +0200</pubDate>
        </item>
        <item>
        	<title>jlb30504 on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5009</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p5009</guid>
        	        	<description><![CDATA[<p>1. jQuerry version - 1.3.1</p>
<p>2. jqGridVersion - 3.4.1</p>
<p>3. OS - Windows XP SP3</p>
<p>4. browser - Firefox 3.0.6</p>
<p>5. Problem - I can&#39;t get jqGridImport to work.&#160; I tested with both testxml.xml as well as my own .xml file.&#160; Firebug shows the .xml file coming back from the request but the Grid configuration does not change.</p>
<p>What am I doing wrong?</p>
<p>6. Code and data if possible -</p>
<p>&#60;script type="text/javascript"&#62;<br />jQuery(document).ready(function (){&#160; <br />&#160;jQuery("#list").jqGrid({<br />&#160;&#160;&#160; <a href="&#39;cem_db_if.php&#39;" target="_blank">url:&#39;cem_db_if.php&#39;</a>,<br />&#160;&#160;&#160; colNames: [&#39;Cemetery&#39;,&#39;County&#39;, &#39;First mame&#39;, &#39;Middle name&#39;, &#39;Other name(s)&#39;, <br />&#160;&#160;&#160;&#160;&#39;Surname/family&#39;,&#39;Birth date&#39;,&#39;Death date&#39;],<br />&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;cem_name&#39;, index:&#39;cem_name&#39;, width:200, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;cem_county_name&#39;, index:&#39;cem_county_name&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_fname&#39;, index:&#39;bur_fname&#39;, width:100, align:&#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_mname&#39;, index:&#39;bur_mname&#39;, width:100, align:&#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_maiden&#39;, index:&#39;bur_maiden&#39;, width:100, align:&#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_sname&#39;, index:&#39;bur_sname&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_birthdate&#39;, index:&#39;bur_birthdate&#39;, width:100, align:&#39;center&#39;}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;bur_deathdate&#39;, index:&#39;bur_deathdate&#39;, width:100, align:&#39;center&#39;} ],<br />&#160;&#160;&#160; height:&#39;auto&#39;,<br />&#160;pager: &#39;#pager&#39;,<br />&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160; sortname: &#39;bur_sname&#39;,<br />&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;postData:{table_name:"DT_Burial"},&#160;&#160;&#160; <br />&#160;viewrecords: true,<br />&#160;&#160;&#160; imgpath: &#39;themes/basic/images&#39;,<br />&#160;&#160;&#160; caption: &#39;TNGenWeb Cemetery Database - Burials&#39;<br />&#160; }); //end grid<br />});//end ready</p>
<p>function burial() { <br />&#160;$("#list").jqGridImport({impurl:"testxml.xml", imptype: "xml"});<br />&#160;alert( $("#list").jqGridExport({exptype: "xmlstring"}) );<br />}//end burial</p>
<p>function cemetery() { <br />&#160;$("#list").jqGridImport({impurl:"cemetery.xml", imptype: "xml"});<br />&#160;alert( $("#list").jqGridExport({exptype: "xmlstring"}) );<br />}//end cemetery<br />&#60;/script&#62;</p>
<p>...</p>
<p>&#60;a href="javascript: void(0)" onclick="burial()"&#62;Test XML&#60;/a&#62;&#60;br /&#62;<br />&#60;a href="javascript: void(0)" onclick="cemetery()"&#62;Cemetery Table&#60;/a&#62;</p></p>
]]></description>
        	        	<pubDate>Fri, 27 Feb 2009 17:28:48 +0200</pubDate>
        </item>
        <item>
        	<title>jlb30504 on jqGridImport example?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p4977</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgridimport-example#p4977</guid>
        	        	<description><![CDATA[<p>Can someone please post a more complete example of how to use jqGridImport?&#160; I am new to jqGrid and can&#39;t get jqGridImport to work.&#160; jqGridExport works fine but not jqGridImport.&#160; I even tried importing testxml.xml but it doesn&#39;t work either.</p>
<p>Thanks, Jerry</p>
]]></description>
        	        	<pubDate>Thu, 26 Feb 2009 07:28:52 +0200</pubDate>
        </item>
</channel>
</rss>