<?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: Textaera et nl2br() ?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/textaera-et-nl2br</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/textaera-et-nl2br/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cvneo on Textaera et nl2br() ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/textaera-et-nl2br#p23933</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/textaera-et-nl2br#p23933</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p> I am sure that my lines will suit qunatit&#233; the text contained in the cell via a style:</p>
<p> . ui-jqGrid tr.jqgrow td {<br /> white-space: normal! important;<br /> height: auto;<br /> vertical-align: text-top;<br /> padding-top: 2px;<br /> }</p>
<p> Now the contents of my cell from a stock that I Texar DB and I would return line kept in the display.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2724' value='Select Code' data-codeid='sfcode2724' /></p>
<div class='sfcode' id='sfcode2724'>
<p>...</p>
<p>{name:&#39;Note&#39;,index:&#39;Note&#39;,editable:true, width:720,edittype:&#34;textarea&#34;, formatter:currencyFmatter, unformat:unformatCurrency, editoptions:{rows:&#34;10&#34;,cols:&#34;20&#34;}},<br />...</p>
</div>
<p>&#160;&#160; &#160;&#160;&#160; &#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2198' value='Select Code' data-codeid='sfcode2198' /></p>
<div class='sfcode' id='sfcode2198'>&#160;&#160;&#160; function currencyFmatter (cellvalue, options, rowObject){ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cellvalue = cellvalue.replace(/\r/g, &#34;&#60;br&#62;&#34;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cellvalue = cellvalue.replace(/\n/g, &#34;&#60;br&#62;&#34;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return cellvalue;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160; function unformatCurrency (cellvalue, options, rowObject){ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return cellvalue.replace(/&#60;br2&#62;/g, &#34;\r\n&#34;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}</div>
<p>function: unformatCurrency does not work this does not \ n for editing.</p>
<p>Thank you for your ideas.</p>
]]></description>
        	        	<pubDate>Mon, 11 Jul 2011 16:22:22 +0300</pubDate>
        </item>
</channel>
</rss>