<?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: populate XML data in JQGrid</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/populate-xml-data-in-jqgrid</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/populate-xml-data-in-jqgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on populate XML data in JQGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populate-xml-data-in-jqgrid#p30473</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populate-xml-data-in-jqgrid#p30473</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>The problem you have is in xmlReader configuration.</p>
<p>You misspeled the word rows instead of row as described into <a href="/jqgridwiki/doku.php?id=wiki:retrieving_data#xml_data" target="_blank">the docs</a>.</p>
</p>
<p>So your working code shouild look like this:</p>
<p>xmlReader: { root: "NewDataSet",<strong> row: "uom"</strong>, repeatitems: false }</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 10 Apr 2014 11:01:57 +0300</pubDate>
        </item>
        <item>
        	<title>ajayporwal on populate XML data in JQGrid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/populate-xml-data-in-jqgrid#p30460</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/populate-xml-data-in-jqgrid#p30460</guid>
        	        	<description><![CDATA[<p>Hi All, I have to bind xml data to JQGrid, but not able to do so. Following is the code in my GridClient.Html file</p>
<p>&#60;!DOCTYPE html&#62;<br />&#60;html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>"&#62;<br />&#60;head runat="server"&#62;<br />&#160;&#160;&#160; &#60;title&#62;&#60;/title&#62;<br />&#160;&#160;&#160; &#60;script src="Scripts/jquery-1.11.0.min.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;link href="Scripts/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;script src="Scripts/jquery.jqGrid.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;link href="Scripts/ui.jqgrid.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;script src="Scripts/grid.locale-en.js" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160; var xmlstr;<br />&#160;&#160;&#160;&#160;&#160;&#160; function RefreshGrid() {<br />&#160;&#160;&#160;&#160;&#160;&#160; //just to test if data is coming or not<br />&#160;&#160;&#160;&#160;&#160;&#160; xmlstr="&#60;NewDataSet&#62;&#60;uom&#62;&#60;uom_id&#62;0&#60;/uom_id&#62;&#60;description&#62;Pieces&#60;/description&#62;&#60;abbreviation&#62;Pcs.&#60;/abbreviation&#62;&#60;last_edit_by&#62;sqladmin&#60;/last_edit_by&#62;&#60;last_edit_at&#62;2014-03-26T15:41:03&#60;/last_edit_at&#62;&#60;/uom&#62;&#60;/NewDataSet&#62;";</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#grdUOM").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;xmlstring&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datastr: xmlstr,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Id&#39;, &#39;Description&#39;, &#39;Abbr.&#39;, &#39;Last Edit By&#39;, &#39;Last Edit At&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;uom_id&#39;, index: &#39;uom_id&#39;, width: 20, stype: &#39;text&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;description&#39;, index: &#39;uom_id&#39;, width: 100 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;abbreviation&#39;, index: &#39;abbreviation&#39;, width: 80 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;last_edit_by&#39;, index: &#39;last_edit_by&#39;, width: 100 },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;last_edit_at&#39;, index: &#39;last_edit_at&#39;, width: 100}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlReader: { root: "NewDataSet", rows: "uom", repeatitems: false },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortName: &#39;uom_id&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewRecords: true,</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortOrder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "List Unit of Measurement"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160; &#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#160; &#60;input type="button" id="btn1" value="Refresh Grid" onclick="RefreshGrid();"&#160; /&#62;<br />&#160; &#60;div id="logdiv"&#62;&#60;/div&#62;<br />&#160; &#60;div&#62;<br />&#160; &#60;table id="grdUOM"&#62;<br />&#160; &#60;/table&#62;<br />&#160;&#160;&#160; &#60;/div&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
<p><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">Please help, thank you very much in advance&#8230;</span></span></span></p>
]]></description>
        	        	<pubDate>Mon, 07 Apr 2014 16:04:53 +0300</pubDate>
        </item>
</channel>
</rss>