<?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: Carriage Returns lost in edit</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit</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/carriage-returns-lost-in-edit/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ivanchain on Carriage Returns lost in edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p23771</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p23771</guid>
        	        	<description><![CDATA[<p>I know what happened.</p>
</p>
<p>the data in the sql server contains \r\n. but the jqgrid get it out and change to only \n. And it can&#39;t show the</p>
<p>&#160;carriage returns based by \n only ( in IE).</p>
</p>
<p>So that&#39;s why it seems that the edit mode EAT the carriage returns.</p></p>
]]></description>
        	        	<pubDate>Mon, 27 Jun 2011 12:51:50 +0300</pubDate>
        </item>
        <item>
        	<title>ivanchain on Carriage Returns lost in edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p23770</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p23770</guid>
        	        	<description><![CDATA[<p>the same problem. the jqgrid edit box will eat the "/r/n".</p>
<p>I have checked the data in the sql server. IT HAS /r/n. but when we get it out into jqgrid and show it in a textbox in the editform, the&#160;&#160;carriage returns are all gone.</p>
</p>
<p>yours,</p>
<p>ivan</p>
]]></description>
        	        	<pubDate>Mon, 27 Jun 2011 12:29:58 +0300</pubDate>
        </item>
        <item>
        	<title>thebiggerd on Carriage Returns lost in edit</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p22115</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/carriage-returns-lost-in-edit#p22115</guid>
        	        	<description><![CDATA[<p>I have a grid that I use for notes, some of which have carriage returns.&#160; I can get the grid to display them correctly, however when I go into edit mode, I lose all the carriage returns.&#160; I even tried to have a hidden column with the original text which I set back in the unformat function, and that does not work either.&#160;</p>
</p>
<p>I tried to be sneaky, as something is obviously removing markup in the edit box.&#160; So, I replace the original text carriage returns with "###~~" and then replaced that with "/r/n" in the unformatter.&#160; That caused the text box in edit mode to add a "&#60;P&#62;" tag instead of just leaving the carriage return.&#160;</p>
<p>What can I do to have the original text displayed without any changes (i.e. leaving the carriage returns intact)?</p>
]]></description>
        	        	<pubDate>Thu, 17 Feb 2011 17:10:41 +0200</pubDate>
        </item>
</channel>
</rss>