<?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: DataSource DataStore Json read initial datas vs getRowData</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/datasource-datastore-json-read-initial-datas-vs-getrowdata</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/datasource-datastore-json-read-initial-datas-vs-getrowdata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>immobilia on DataSource DataStore Json read initial datas vs getRowData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/datasource-datastore-json-read-initial-datas-vs-getrowdata#p20493</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/datasource-datastore-json-read-initial-datas-vs-getrowdata#p20493</guid>
        	        	<description><![CDATA[</p>
<p>Hi, i&#39;m using SmartClient &#38; ExtJs, i search the "dataSource", but it&#39;s seem not exist on jqGrid...</p>
<p>Can you confirm, there is no datasource (Json or XML) on jqGrid ?</p>
</p>
<p>To custom render, we can use a custom formatter.</p>
<p>An to come back to initial data, we can use a custom unformat.</p>
</p>
<p>But i don&#39;t think we always can coming back to initial data.</p>
<p>For example, if a second grid interacts with the first grid, from the first we can&#39;t know changes...</p>
</p>
<p>Example :</p>
<p>grid1 .colName: "MyCol" value: 3</p>
<p>with my formatter:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4346' value='Select Code' data-codeid='sfcode4346' /></p>
<div class='sfcode' id='sfcode4346'>
<p>myCustomFmatter :&#160; function(cellvalue, options, rowdata) {</p>
<p>&#160;&#160; return (rowdata.anotherField==1)?cellvalue:&#34;$&#34;+cellvalue+&#34;isAnotherField&#34;;</p>
<p>}</p>
</div>
<p>depending of rowdata.anotherField, the cell content change.</p>
<p>There is no way to keep inital content, and only html render from us custom formatter ?</p>
]]></description>
        	        	<pubDate>Tue, 26 Oct 2010 17:37:25 +0300</pubDate>
        </item>
</channel>
</rss>