<?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: Loading grid with jqGridImport &#38; loadonce</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce</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/loading-grid-with-jqgridimport-loadonce/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>rotoflex on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15814</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15814</guid>
        	        	<description><![CDATA[<p>Thanks again Tony! I had completely missed such an obvious thing.</p>
</p>
<p>Regards,</p>
</p>
<p>Janne</p>
]]></description>
        	        	<pubDate>Thu, 18 Mar 2010 14:02:59 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15681</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15681</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If the data is a part from the import string in your case a datatype:&#39;local&#39; should be set, since to load the data from the import string we first save the datatype, insert the data and then put back it again.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 14 Mar 2010 16:35:05 +0200</pubDate>
        </item>
        <item>
        	<title>rotoflex on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15680</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p15680</guid>
        	        	<description><![CDATA[<p>Can anyone help me with this one?</p>
]]></description>
        	        	<pubDate>Sun, 14 Mar 2010 15:49:58 +0200</pubDate>
        </item>
        <item>
        	<title>rotoflex on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14721</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14721</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>Sorry for my late reply. I finally got some time to build you an test grid. Originally I was using version 3.6.2, but I tried with version 3.6.3 today with no difference in result.</p>
<p>Here&#39;s the string that import returns:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1636' value='Select Code' data-codeid='sfcode1636' /></p>
<div class='sfcode' id='sfcode1636'>{&#34;grid&#34;:{&#34;ajaxGridOptions&#34;:{&#34;cache&#34;:false},&#34;autowidth&#34;:true,&#34;caption&#34;:&#34;TestGrid&#34;,&#34;cellEdit&#34;:false,&#34;cellsubmit&#34;:&#34;clientArray&#34;,&#34;colModel&#34;:[{&#34;align&#34;:&#34;left&#34;,&#34;editable&#34;:false,&#34;editoptions&#34;:{},&#34;editrules&#34;:{&#34;custom&#34;:false,&#34;date&#34;:false,&#34;edithidden&#34;:false,&#34;email&#34;:false,&#34;integer&#34;:false,&#34;number&#34;:false,&#34;required&#34;:false,&#34;time&#34;:false,&#34;url&#34;:false},&#34;edittype&#34;:&#34;text&#34;,&#34;formoptions&#34;:{&#34;colpos&#34;:0,&#34;elmsuffix&#34;:null,&#34;rowpos&#34;:0},&#34;hidden&#34;:false,&#34;hidedlg&#34;:false,&#34;index&#34;:&#34;Id&#34;,&#34;label&#34;:&#34;Id&#34;,&#34;name&#34;:&#34;Id&#34;,&#34;sortable&#34;:true,&#34;sorttype&#34;:&#34;text&#34;,&#34;width&#34;:0},{&#34;align&#34;:&#34;left&#34;,&#34;editable&#34;:false,&#34;editoptions&#34;:{},&#34;editrules&#34;:{&#34;custom&#34;:false,&#34;date&#34;:false,&#34;edithidden&#34;:false,&#34;email&#34;:false,&#34;integer&#34;:false,&#34;number&#34;:false,&#34;required&#34;:false,&#34;time&#34;:false,&#34;url&#34;:false},&#34;edittype&#34;:&#34;text&#34;,&#34;formoptions&#34;:{&#34;colpos&#34;:0,&#34;elmsuffix&#34;:null,&#34;rowpos&#34;:0},&#34;hidden&#34;:false,&#34;hidedlg&#34;:false,&#34;index&#34;:&#34;Value1&#34;,&#34;label&#34;:&#34;Value1&#34;,&#34;name&#34;:&#34;Value1&#34;,&#34;sortable&#34;:true,&#34;sorttype&#34;:&#34;text&#34;,&#34;width&#34;:0},{&#34;align&#34;:&#34;left&#34;,&#34;editable&#34;:false,&#34;editoptions&#34;:{},&#34;editrules&#34;:{&#34;custom&#34;:false,&#34;date&#34;:false,&#34;edithidden&#34;:false,&#34;email&#34;:false,&#34;integer&#34;:false,&#34;number&#34;:false,&#34;required&#34;:false,&#34;time&#34;:false,&#34;url&#34;:false},&#34;edittype&#34;:&#34;text&#34;,&#34;formoptions&#34;:{&#34;colpos&#34;:0,&#34;elmsuffix&#34;:null,&#34;rowpos&#34;:0},&#34;hidden&#34;:false,&#34;hidedlg&#34;:false,&#34;index&#34;:&#34;Value2&#34;,&#34;label&#34;:&#34;Value2&#34;,&#34;name&#34;:&#34;Value2&#34;,&#34;sortable&#34;:true,&#34;sorttype&#34;:&#34;text&#34;,&#34;width&#34;:0},{&#34;align&#34;:&#34;left&#34;,&#34;editable&#34;:false,&#34;editoptions&#34;:{},&#34;editrules&#34;:{&#34;custom&#34;:false,&#34;date&#34;:false,&#34;edithidden&#34;:false,&#34;email&#34;:false,&#34;integer&#34;:false,&#34;number&#34;:false,&#34;required&#34;:false,&#34;time&#34;:false,&#34;url&#34;:false},&#34;edittype&#34;:&#34;text&#34;,&#34;formoptions&#34;:{&#34;colpos&#34;:0,&#34;elmsuffix&#34;:null,&#34;rowpos&#34;:0},&#34;hidden&#34;:false,&#34;hidedlg&#34;:false,&#34;index&#34;:&#34;Value3&#34;,&#34;label&#34;:&#34;Value3&#34;,&#34;name&#34;:&#34;Value3&#34;,&#34;sortable&#34;:true,&#34;sorttype&#34;:&#34;text&#34;,&#34;width&#34;:0}],&#34;colNames&#34;:[],&#34;datatype&#34;:&#34;json&#34;,&#34;editurl&#34;:null,&#34;forceFit&#34;:false,&#34;gridview&#34;:true,&#34;height&#34;:&#34;100%&#34;,&#34;jsonReader&#34;:{&#34;root&#34;:&#34;Rows&#34;,&#34;page&#34;:&#34;Page&#34;,&#34;total&#34;:&#34;TotalPages&#34;,&#34;records&#34;:&#34;Records&#34;,&#34;userdata&#34;:&#34;UserData&#34;,&#34;repeatitems&#34;:false,&#34;id&#34;:&#34;0&#34;},&#34;loadonce&#34;:true,&#34;multiboxonly&#34;:false,&#34;multiselect&#34;:false,&#34;pager&#34;:&#34;#TestGridPager&#34;,&#34;pgbuttons&#34;:false,&#34;pginput&#34;:false,&#34;resizeStop&#34;:null,&#34;rowNum&#34;:-1,&#34;sortable&#34;:true,&#34;sortname&#34;:&#34;Id&#34;,&#34;sortorder&#34;:&#34;asc&#34;,&#34;subGrid&#34;:false,&#34;toolbar&#34;:&#34;[false,&#39;&#39;]&#34;,&#34;treeGrid&#34;:false,&#34;url&#34;:&#34;\/testApp\/TestGridService.svc\/GetTestGridData?&#34;,&#34;viewrecords&#34;:true},&#34;data&#34;:{&#34;Page&#34;:0,&#34;Records&#34;:0,&#34;Rows&#34;:[{&#34;Id&#34;:1,&#34;Value1&#34;:&#34;Sample&#34;,&#34;Value2&#34;:&#34;Moon&#34;,&#34;Value3&#34;:&#34;Car&#34;},{&#34;Id&#34;:2,&#34;Value1&#34;:&#34;Test&#34;,&#34;Value2&#34;:&#34;Earth&#34;,&#34;Value3&#34;:&#34;Bicycle&#34;},{&#34;Id&#34;:3,&#34;Value1&#34;:&#34;Another test&#34;,&#34;Value2&#34;:&#34;Sun&#34;,&#34;Value3&#34;:&#34;Airplane&#34;}],&#34;TotalPages&#34;:0,&#34;UserData&#34;:{}}}</div>
</p>
<p>Grid is imported with this:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2244' value='Select Code' data-codeid='sfcode2244' /></p>
<div class='sfcode' id='sfcode2244'>$(&#34;#TestGrid&#34;).jqGridImport({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imptype: &#34;json&#34;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; , impurl: &#39;&#60;%=System.Web.VirtualPathUtility.ToAbsolute(&#34;~/&#34;)%&#62;TestGridService.svc/GetTestGridData&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; , jsonGrid: {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config: &#34;grid&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: &#34;data&#34;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</div>
]]></description>
        	        	<pubDate>Thu, 11 Feb 2010 11:06:30 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14172</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14172</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please send me the string that is used in jqGridImport?</p>
<p>Also which version is used.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit745' value='Select Code' data-codeid='sfcode745' /></p>
<div class='sfcode' id='sfcode745'>
<p>One feature request; would it be possible to get somekind of failure event when importing grid?</p>
</div>
<p>Thanks for this. I have missed this. ajax options will be added in this method and this will be available in the upcomming 3.6.3 release.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 22 Jan 2010 14:58:53 +0200</pubDate>
        </item>
        <item>
        	<title>rotoflex on Loading grid with jqGridImport &#38; loadonce</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14100</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loading-grid-with-jqgridimport-loadonce#p14100</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;m having a bit of a problem with jqGridImport and loadonce. What I&#39;m trying to do is load grid configuration and data using json with one single load. I&#39;ve defined loadonce parameter to true. Grid loads just fine and everything else seems to work as it should, but when I try to sort grid clicking one of the columns, "Loading.." text appears and data is loaded again from url defined in grid. This happens only at the first time, the second time I click column grid is sorted using data in grid and without request being sent to server.</p>
</p>
<p>I&#39;ve tried searching this forum and googling but haven&#39;t found any solutions how to fix this, so if anyone can give me hint what to try with this, that would be great!</p>
</p>
<p>One feature request; would it be possible to get somekind of failure event when importing grid?</p></p>
]]></description>
        	        	<pubDate>Thu, 21 Jan 2010 12:41:44 +0200</pubDate>
        </item>
</channel>
</rss>