<?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: unformat - getting the original value</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value</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/unformat-getting-the-original-value/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>wojciech on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p24429</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p24429</guid>
        	        	<description><![CDATA[<blockquote>
<p><a href="http://stackoverflow.com/questions/1775524/how-to-get-a-jqgrid-cell-value/7209681#7209681" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....81#7209681</a></p>
</blockquote>
<blockquote>
<p><a href="http://wojciech.oxos.pl/post/9423083837/fetching-original-record-values-in-jqgrid" rel="nofollow" target="_blank"><a href="http://wojciech.oxos.pl/post/9" rel="nofollow">http://wojciech.oxos.pl/post/9</a>.....-in-jqgrid</a></p>
</blockquote>
]]></description>
        	        	<pubDate>Fri, 26 Aug 2011 22:43:06 +0300</pubDate>
        </item>
        <item>
        	<title>shuki on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p17017</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p17017</guid>
        	        	<description><![CDATA[<p>OK. Thanks.</p>
]]></description>
        	        	<pubDate>Sat, 08 May 2010 21:15:23 +0300</pubDate>
        </item>
        <item>
        	<title>tony on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p17006</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p17006</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Actually to suamrize - jqGrid does not store the original value somewhere when a formatter is used.</p>
<p>Simple we do: What you get is what you put.</p>
</p>
<p>The thing to do this is a little bit tricky.</p>
<p>To the unformat function we pass - the textcontent, someoptions and the cell object,</p>
<p>So if you store somewhere in your content the original value as attribute in some element you can get it later using the cell object</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 07 May 2010 17:58:16 +0300</pubDate>
        </item>
        <item>
        	<title>shuki on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16972</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16972</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I understand what is passed to the unformat function.</p>
</p>
<p>My question is how do we get the original value that was formatted with the format function?</p>
</p>
<p>For example:</p>
<p>My cellvalue holds text like: &#39;&#60;p&#62;hello &#60;b&#62;Tony&#60;/b&#62;&#60;p&#62;&#39;</p>
</p>
<p>I format it to show the text only: &#39;hello Tony&#39;</p>
<p>and I wonder if I can refer to the original cellvalue from the unformat function?</p>
</p>
<p>Hope I am clear.</p>
</p>
<p>Thanks for your work and support</p>
<p>Shuki</p>
]]></description>
        	        	<pubDate>Thu, 06 May 2010 17:01:16 +0300</pubDate>
        </item>
        <item>
        	<title>tony on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16956</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>To the unformat function we pass the text - i.e we pass this -&#160; $(element).text()</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 May 2010 14:40:05 +0300</pubDate>
        </item>
        <item>
        	<title>shuki on unformat - getting the original value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16771</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unformat-getting-the-original-value#p16771</guid>
        	        	<description><![CDATA[<p>Hi All,</p>
<p>I created a formatter function for a rich text field that strip the html tags and leave only the text:</p>
<p>editorFormatter : function(cellvalue, options, rowobject) {<br />&#160;&#160;&#160; var obj = $(&#39;&#60;div&#62;&#39; + cellvalue + &#39;&#60;/div&#62;&#39;);<br />&#160; &#160; return obj.text();</p>
<p>}</p>
</p>
<p>how can I get the original value in the unformat function?</p>
</p>
<p>Thanks,</p>
<p>Shuki</p>
]]></description>
        	        	<pubDate>Wed, 28 Apr 2010 11:15:36 +0300</pubDate>
        </item>
</channel>
</rss>