<?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: Storing Grid Data</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/storing-grid-data</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/storing-grid-data/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kylesp on Storing Grid Data</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/storing-grid-data#p25008</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/storing-grid-data#p25008</guid>
        	        	<description><![CDATA[<p>I have a jqgrid with the datatype set to local.&#160; The grid is being used for data entry, so we are dynamically adding rows to the grid.&#160; The data behind those rows is a serialized object coming from the server through an ajax request.&#160; I take the response from the ajax call and add the row to the grid.&#160; When a user submits the page, we loop over the data in the grid, serialize it to a json string and post it back to the server.</p>
<p>My problem comes in when we pull the object out of the grid.&#160; There are some properties missing, it looks like if we didn&#39;t define a colModel for specific properties jqgrid just ignores them and doesnt store them at all. &#160; Has anyone else ran into this and/or has a workaround so whatever data we pass into the grid(whether it has a colModel definition or not) is exactly the same as the data we pull back out.</p>
<p>Here is an example of the call to add a row:</p>
<p>.addRowData(rowId, rowData, &#39;last&#39;)</p>
<p>Here is an example of the call to pull the row back out:</p>
<p>.jqGrid(&#39;getRowData&#39;, rowId)</p>
</p>
<p>Thanks in advance,</p>
<p>Kyle</p>
]]></description>
        	        	<pubDate>Thu, 27 Oct 2011 23:31:36 +0300</pubDate>
        </item>
</channel>
</rss>