<?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: jqGrid Edit Popup</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-edit-popup</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/jqgrid-edit-popup/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-edit-popup#p30956</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-edit-popup#p30956</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>You may find the <a href="http://stackoverflow.com/questions/3641400/problem-with-wrapping-jqgrid-column-headers-on-ie" target="_blank">answer here</a></p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 18 Aug 2014 11:11:33 +0300</pubDate>
        </item>
        <item>
        	<title>arun16Oct on jqGrid Edit Popup</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-edit-popup#p30947</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-edit-popup#p30947</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have a jqgrid having textarea as columns which will contain multiple lines. I am using theÂ edit option which when clicked opens the Edit Record popup. The issue that i face is when i enter multi-line characters in the popup and click on submit, the grid displays the text in one line. This issue is with IE8 only for me. Firefox works fine.</p>
<p>Â </p>
<p>Below is the sample code i have written:</p>
<p>Â </p>
<p>var mystr = "&#60;?xml version='1.0' encoding='utf-8'?&#62; &#60;toolinfo&#62; &#60;rows&#62;"+<br />
 "&#60;row&#62;&#60;cell&#62;1<br />
0<br />
2&#60;/cell&#62;&#60;cell&#62;issue&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;cell&#62;A<br />
B<br />
C&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;/row&#62;"+<br />
 "&#60;row&#62;&#60;cell&#62;2&#60;/cell&#62;&#60;cell&#62;issue&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;cell&#62;&#60;/cell&#62;&#60;/row&#62;"+<br />
 "&#60;/rows&#62;&#60;/toolinfo&#62;";<br />
 jQuery("#IssueResolutionList").jqGrid({<br />
url:'editing.php?q=1',<br />
 datatype: "xmlstring",<br />
 datastr: mystr,<br />
 colNames:['Issue','Issue Modified On','Issue Modified By','Resolution','Resolution Modified On','Resolution Modified By'],<br />
 colModel:[{name:'issue',index:'issue', autoencode:false, editable: true, align: "left",edittype: "textarea",unformat: unfrmttextarea,editoptions:{rows:'8',cols:'75'}},<br />
 {name:'issuemodon',index:'issuemodon', editable: false,align: "left",sorttype : "date"},<br />
 {name:'issuemodby',index:'issuemodby', editable: false,align: "left",sorttype : "text"},<br />
 {name:'resol',index:'resol', editable: true,align: "left", edittype: "textarea",unformat: unfrmttextarea,editoptions:{rows:'8',cols:'75'}},<br />
 {name:'resolmodon',index:'resolmodon', editable: false,align: "left",sorttype : "date"},<br />
 {name:'resolmodby',index:'resolmodby', editable: false,align: "left",sorttype : "text"}],</p>
<p>rowNum:10,<br />
 rowList:[10,20,30],<br />
 pager: '#IssueResolutionPager',<br />
 sortname: 'issue',<br />
 viewrecords: true,<br />
 sortorder: "issue",<br />
 multiselect: true,<br />
 editurl:"someurl.php",<br />
 headertitles:true,<br />
 caption:"Issues and Resolutions",<br />
 loadComplete: function () {</p>
<p>$("tr.jqgrow:odd").addClass("odd-row-class");<br />
 $("tr.jqgrow:even").addClass("even-row-class");<br />
 }<br />
});<br />
 function unfrmttextarea (cellvalue, options, cellobject) {<br />
 return cellvalue;<br />
 }</p>
<p>jQuery("#IssueResolutionList").jqGrid('navButtonAdd','#IssueResolutionPager',{title:'Edit Issue and Resolution',caption:"Edit",buttonicon:"ui-icon-pencil", onClickButton: function() {</p>
<p> var gr = jQuery("#IssueResolutionList").jqGrid('getGridParam','selrow');<br />
if( gr != null ) jQuery("#IssueResolutionList").jqGrid('editGridRow',gr,{reloadAfterSubmit:false});<br />
else alert("Please Select Row");<br />
}});</p>
<p>Â </p>
<p>Thanks.</p>
<p>Â </p>
<p>Thanks,</p>
<p>Arun</p>
]]></description>
        	        	<pubDate>Mon, 11 Aug 2014 19:54:56 +0300</pubDate>
        </item>
</channel>
</rss>