<?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: Data Is being sent but not loading</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading</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/data-is-being-sent-but-not-loading/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22233</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22233</guid>
        	        	<description><![CDATA[<p>I have to remember to set the initial sort column to match my table. Duh.</p>
</p>
<p>Thanks for all the help today Oleg!</p>
]]></description>
        	        	<pubDate>Mon, 28 Feb 2011 01:27:26 +0200</pubDate>
        </item>
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22232</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22232</guid>
        	        	<description><![CDATA[<p>Ok, now, the counter in the navbar shows the appropriate counts BUT nothing in the table. If I reverse the sort order on a column, it starts working. Weird! It does this regardless of jQuery 1.4.4 or 1.5.1</p>
</p>
<p>Thanks,<br />Steffan&#160;</p>
]]></description>
        	        	<pubDate>Mon, 28 Feb 2011 00:57:58 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22231</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22231</guid>
        	        	<description><![CDATA[<p>I have no problem with your data in the old JavaScript code. The <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan2-json.htm" target="_blank">new demo</a> is exactly the same as I posted before, but it uses new JSON data. In the source code I changed just <strong>datatype</strong> to "json" and <strong>url</strong> to the file with JSON data.</p>
<p>Do you used&#160;<a href="http://www.fiddler2.com/fiddler2/" target="_blank">Fiddler</a>&#160;or&#160;<a href="http://getfirebug.com/" target="_blank">Firebug</a>&#160;to examine full headers in the server responce?</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 28 Feb 2011 00:54:59 +0200</pubDate>
        </item>
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22230</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22230</guid>
        	        	<description><![CDATA[<p>Ok, following the same grid declaration above with the exception of JSON, I&#39;m stuck yet again. I have the same structure of JSON as you do on your <a href="http://trirand.com/blog/jqgrid/server.php?q=2&#38;_search=false&#38;nd=1298790992664&#38;rows=10&#38;page=1&#38;sidx=id&#38;sord=desc" target="_blank">link</a>&#160;but I get no error. I&#39;ll see if I can put in the loaderror you mentioend to see if I can figure out why. Below is the JSON returned by my server.</p>
</p>
<p>{"records": "2", "page": "1", "total": "1", "rows": [{"userid": "2", "cell": ["2", "Joe", "Dirt", "Joe@dirt.com", "dirtyboy", "Group 1", "", "1"]}, {"userid": "1", "cell": ["1", "Steffan", "Cline", "steffan@xxxxx.com", "tester", "Group 1,Group 2,Group 3,Group 4", "", "1"]}]}</p></p>
]]></description>
        	        	<pubDate>Mon, 28 Feb 2011 00:17:40 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22228</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22228</guid>
        	        	<description><![CDATA[<p>I recommend you fo use JSON instead of XML is you can youself define the format of the data provided by the server.</p>
<p>The version 1.8.10 should be compatibale with 1.3.2+ inclusive 1.5.1. I hope that the most important compatibility bugs and other gugs of the new versions are fixed not. I recommend you to start with jQuery 1.5.1 but not use the features which are new in 1.5 <em>at the begining</em>. So you can have performace advantage of the new version and have rollback way to jQuery 1.4.4 if you will find an important bug. After testing of main features which you need you can start to use new features of jQuery 1.5.1 if needed.</p>
<p>Good luck<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 22:37:27 +0200</pubDate>
        </item>
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22227</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22227</guid>
        	        	<description><![CDATA[<p>I was able to get the XML working. There was something weird. I&#39;m not sure what I did but it just stated working. I did have the content type in there though. So, now I am looking to do the JSON rather than XML to lighten the load.</p>
<p>I just downloaded the jQuery UI a couple days ago and it still ships with 1.4.4. Is the UI compatible with 1.5.1?</p>
</p>
<p>Thanks,</p>
<p>Steffan</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 22:23:45 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22226</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22226</guid>
        	        	<description><![CDATA[<p>Hi Steffan,</p>
<p>I suspect that you problem is the "Content-Type" which not set or set wrong on the server ("/async/users.lasso"). I could reproduce the problem with jQuery 1.4.4 if I use at the response <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan.txt" target="_blank">Steffan.txt</a> file with the contain like you posted. In the case my web server place <strong>Content-Type: text/plain</strong> in the header of the response and one see ajax parsing error. Because use don&#39;t define <strong>loadError</strong> event hendle you just see empty grid. You can see the problem reproduced on <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan0.htm" target="_blank">the demo</a>. If I just rename the file to <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan.xml" target="_blank">Steffan.xml</a>, my web server will use <strong>Content-Type: </strong><strong>application/xml</strong>&#160;and the same code will work (see <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan1.htm" target="_blank">here</a>). Of course in case or dynamic data you have to set "Content-Type" in other way, but the same effects will stay.</p>
<p>One more way to fix the problem is to use jQuery 1.5 (I used jQuery 1.5.1): see <a href="http://www.ok-soft-gmbh.com/jqGrid/Steffan2.htm" target="_blank">the fixed demo</a>. In jQuery 1.5 the ajax module is full rewritten and the problems which one has in httpData function of jQuery one don&#39;t has more.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 21:36:05 +0200</pubDate>
        </item>
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22218</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22218</guid>
        	        	<description><![CDATA[<p>I was finally able to get the XML to work but find it may be a bit heavy where I can use JSON instead. I&#39;ll try fooling with the JSON a bit later. I&#39;m using the latest jqGrid from the site. I copied the example directly from the Navigator example using only a few tweaks.&#160;</p>
<p>$("#navgrid").jqGrid({</p>
<p>url:"/async/users.lasso",</p>
<p>datatype: "XML",</p>
<p>hidegrid: false,</p>
<p>colNames:["User ID","First Name","Last Name","Email","Password","Groups","Notes","Admin"],</p>
<p>colModel:[</p>
<p>{name:&#39;id&#39;,	 index:&#39;id&#39;, width:55,	editable:false,	editoptions:{readonly:true,size:10}, hidden:true},</p>
<p>{name:&#39;firstname&#39;,	index:&#39;firstname&#39;, width:100,	editable:true,	editoptions:{size:25}, editrules:{required:true}},</p>
<p>{name:&#39;lastname&#39;,	index:&#39;lastname&#39;, width:100,	editable:true,	editoptions:{size:25}, editrules:{required:true}},</p>
<p>{name:&#39;email&#39;,	 index:&#39;email&#39;, width:100, editable:true,	editoptions:{size:25}, editrules:{email:true, required:true}},</p>
<p>{name:&#39;password&#39;,	index:&#39;password&#39;, width:100, hidden:true, editable:true,	editoptions:{edithidden:true}},</p>
<p>{name:&#39;groups&#39;,	 index:&#39;groups&#39;, width:100,	editable:true,	edittype:"textarea",	editoptions:{rows:"2",cols:"25"}, align:"left", sortable:"no"},</p>
<p>{name:&#39;notes&#39;,	 index:&#39;notes&#39;, width:200,	editable:true,	edittype:"textarea",	editoptions:{rows:"2",cols:"25"}, align:"left"},</p>
<p>{name:&#39;isadmin&#39;,	index:&#39;isadmin&#39;,	width:60,	editable:true,	edittype:"checkbox", editoptions:{value:"Yes:No"}, align:"left"}</p>
<p>],</p>
<p>rowNum:10,</p>
<p>rowList:[10,20,30],</p>
<p>pager: &#39;#pagernav&#39;,</p>
<p>sortname: "id",</p>
<p>viewrecords: true,</p>
<p>sortorder: "desc",</p>
<p>caption:"Existing Users",</p>
<p>editurl:"/async/users.lasso",</p>
<p>height:210</p>
<p>});</p>
<p>$("#navgrid").jqGrid(&#39;navGrid&#39;,&#39;#pagernav&#39;,</p>
<p>{}, //options</p>
<p>{height:280,reloadAfterSubmit:false}, // edit options</p>
<p>{height:280,reloadAfterSubmit:false}, // add options</p>
<p>{reloadAfterSubmit:false}, // del options</p>
<p>{} // search options</p>
<p>);</p>
</p>
<p>The XML for example:</p>
<p>&#60;?xml version=&#39;1.0&#39; encoding=&#39;utf-8&#39;?&#62;</p>
<p>&#60;rows&#62;</p>
<p>&#60;page&#62;1&#60;/page&#62;&#60;total&#62;2&#60;/total&#62;&#60;records&#62;13&#60;/records&#62;</p>
<p>&#60;row id=&#39;13&#39;&#62;&#60;cell&#62;13&#60;/cell&#62;&#60;cell&#62;Joe&#60;/cell&#62;&#60;cell&#62;Dirt&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;0.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;12&#39;&#62;&#60;cell&#62;12&#60;/cell&#62;&#60;cell&#62;Hank&#60;/cell&#62;&#60;cell&#62;Williams&#60;/cell&#62;&#60;cell&#62;def&#60;/cell&#62;&#60;cell&#62;140.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;11&#39;&#62;&#60;cell&#62;11&#60;/cell&#62;&#60;cell&#62;2007-10-06&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;ghi&#60;/cell&#62;&#60;cell&#62;120.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;10&#39;&#62;&#60;cell&#62;10&#60;/cell&#62;&#60;cell&#62;2007-10-06&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;100.00&#60;/cell&#62;&#60;cell&#62;20.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;9&#39;&#62;&#60;cell&#62;9&#60;/cell&#62;&#60;cell&#62;2007-10-06&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;200.00&#60;/cell&#62;&#60;cell&#62;40.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;8&#39;&#62;&#60;cell&#62;8&#60;/cell&#62;&#60;cell&#62;2007-10-06&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;200.00&#60;/cell&#62;&#60;cell&#62;0.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;7&#39;&#62;&#60;cell&#62;7&#60;/cell&#62;&#60;cell&#62;2007-10-05&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;120.00&#60;/cell&#62;&#60;cell&#62;12.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;6&#39;&#62;&#60;cell&#62;6&#60;/cell&#62;&#60;cell&#62;2007-10-05&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;50.00&#60;/cell&#62;&#60;cell&#62;10.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;5&#39;&#62;&#60;cell&#62;5&#60;/cell&#62;&#60;cell&#62;2007-10-05&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;100.00&#60;/cell&#62;&#60;cell&#62;0.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;row id=&#39;4&#39;&#62;&#60;cell&#62;4&#60;/cell&#62;&#60;cell&#62;2007-10-04&#60;/cell&#62;&#60;cell&#62;abc&#60;/cell&#62;&#60;cell&#62;150.00&#60;/cell&#62;&#60;cell&#62;0.00&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;cell&#62;No&#60;/cell&#62;&#60;/row&#62;</p>
<p>&#60;/rows&#62;</p>
</p>
<p>I&#39;ll post the JSON when I go back to it but is there a trick of a sort I may be missing?</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 17:00:22 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22214</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22214</guid>
        	        	<description><![CDATA[<p>Hi Steffan,</p>
<p>You posted almost no information which can be used to help you. In case of any problems in loading of data in the grid you should allways post</p>
<ol>
<li>The version number of jqGrid which you use.</li>
<li>The full definition of jqGrid, especially colModel, datatype, abd jsonReader/xmlReader parameters it any used.</li>
<li>The test JSON/XML data which will be really send back to the jqGrid from the server. You can use for example&#160;<a href="http://www.fiddler2.com/fiddler2/" target="_blank">Fiddler</a> or <a href="http://getfirebug.com/" target="_blank">Firebug</a> to catch tha data.</li>
</ol>
<p>If you suspect that you don&#39;t load all jqGrid modules you should open jquery.jqGrid.min.js and examine the list of modules in the comment at the begining of the JS-file (search for "Modules:" text).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 13:17:04 +0200</pubDate>
        </item>
        <item>
        	<title>Steffan on Data Is being sent but not loading</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22211</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/data-is-being-sent-but-not-loading#p22211</guid>
        	        	<description><![CDATA[<p>I&#39;m trying to set up the navgrid. I wasn&#39;t sure what all modules were needed so I just downloaded them all. For some reason, the grid never loads the data. I confirmed the data is in fact being sent. I&#39;ve tried both json and xml but no matter what, no errors or anything. Nothing loads into the grid. It always shows "0 of &#60;no number here&#62;" nothing is displayed. I see no errors in the console so I&#39;m not sure where to go. Suggestions?&#160;</p>
]]></description>
        	        	<pubDate>Sun, 27 Feb 2011 08:54:35 +0200</pubDate>
        </item>
</channel>
</rss>