<?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 textarea column with Rich Text editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing</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/discussion/jqgrid-textarea-column-with-rich-text-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31093</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31093</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You are wellcome!</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 08 Sep 2014 15:34:22 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31049</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31049</guid>
        	        	<description><![CDATA[<blockquote>
<blockquote>
<p>
Â thanks a bunch in advance for your inputs.</p>
</blockquote>
</blockquote>
]]></description>
        	        	<pubDate>Wed, 03 Sep 2014 07:08:26 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31028</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31028</guid>
        	        	<description><![CDATA[<p>HEllo,</p>
<p>Â </p>
<p>Your questions are related to tinymce editor.</p>
<p>I think you should ask these questions in another forum</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Fri, 29 Aug 2014 11:03:32 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31019</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p31019</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I tried integrating the tinymce RTE on the JQGrid for inline editing. I'm currently an issue of refresh when the user click on textarea column (it first loads the textarea and then shows the tinymce RTE control) which is very annoying for our users. I was wondering if i can bind the tnymce RTE control in some other event or change some other options to make it seamless.</p>
<p>I also want to customize the options on tinymce control to only few buttons like bold, italic, underline etc. I was wondering if that is possible.</p>
<p>I'm attaching my code for reference and thanks a bunch in advance for your inputs.</p>
<p>function buildgrid() {<br />
Â Â  Â Â Â Â  var grid = jQuery("#Northwinds");<br />
Â Â  Â Â Â Â  var gridData;<br />
Â Â  Â Â Â Â  grid.jqGrid({<br />
Â Â  Â Â Â Â Â Â Â Â  url: '/sites/cats/_vti_bin/listdata.svc/TSCMaster',<br />
Â Â  Â Â Â Â Â Â Â Â  datatype: 'json',<br />
Â Â  Â Â Â Â Â Â Â Â  sortable: true,<br />
Â Â  Â Â Â Â Â Â Â Â  rownumbers: false,<br />
Â Â  Â Â Â Â Â Â Â Â  jsonReader: {<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  root: "d.results",<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  repeatitems: false<br />
Â Â  Â Â Â Â Â Â Â Â  },<br />
Â Â Â Â Â  Â Â Â  Â Â Â  Â success: function(data){<br />
Â Â  Â Â Â  Â Â Â  Â var $self = $(this);<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â setTimeout(function () {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â $self.trigger("reloadGrid");<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â }, 50);<br />
Â Â  Â Â Â  Â },<br />
Â Â  Â Â Â  Â afterSubmit: function () {<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â $(this).jqGrid("setGridParam", {datatype: 'json'});<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â return [true];<br />
Â Â  Â Â Â  Â },<br />
Â Â  Â Â Â Â Â Â Â Â  colNames: [" ", "Script Page", "Scene #", "Item Description", "Comments/Restrictions","url","etag"],<br />
Â Â  Â Â Â Â Â Â Â Â  colModel: [<br />
Â Â  Â Â Â  Â {name: 'myac', width:80, fixed:true, sortable:false, resize:false, formatter:'actions',<br />
Â Â  Â Â Â  Â Â Â  Â formatoptions:{keys:true}},<br />
Â Â  Â Â Â  Â {<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  name: 'ScriptPage',<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  editable: true,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  sortable: true,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  index: 'ScriptPage',<br />
Â Â  Â Â Â  Â Â Â Â  search: false,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  width: 75},<br />
Â Â  Â Â Â Â Â Â Â Â  {<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  name: 'SceneNumber',<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  editable: true,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  sortable: true,<br />
Â Â  Â Â Â  Â Â Â Â  search: false,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  index: 'SceneNumber',<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  width: 75},<br />
Â Â  Â Â Â Â Â Â Â Â  {<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  name: 'ItemDescription',<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  editable: true,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  sortable: true,<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  index: 'ItemDescription',<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â  width: 300},<br />
Â Â  Â Â Â  Â {<br />
Â Â  Â Â Â  Â Â Â Â  name:'CommentsRestrictions',<br />
Â  Â Â  Â Â Â  Â Â Â Â  index:'CommentsRestrictions',<br />
Â Â  Â Â Â  Â Â Â Â  editable:true,<br />
Â Â  Â Â Â  Â Â Â Â  width :600,<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  edittype:'custom',<br />
Â Â  Â Â Â  Â Â Â Â  editoptions:{custom_element:function( value , options) {<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â var elm = $('&#60;textarea rows=4 cols=100&#62;&#60;/textarea&#62;');<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â elm.val( value );<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â // give the editor time to initialize<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â setTimeout( function() {<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â tinymce.init({selector: "textarea#" + options.id<br />
Â Â  Â Â Â  Â Â Â  Â });<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â }, 0);<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  Â return elm;<br />
Â Â Â Â  Â Â Â  Â Â Â  Â Â Â Â  },<br />
Â Â Â Â  Â Â Â  Â Â Â  Â Â Â Â  custom_value:function( element, oper, gridval) {<br />
Â Â  Â Â Â  Â Â Â Â  var id = element[0].id;<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â Â  if(oper === 'get') {<br />
Â Â  Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  return tinymce.get(id).getContent({format: 'row'});<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â Â  } else if( oper === 'set') {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  if(tinymce.get(id)) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â tinymce.get(id).setContent( gridval );<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â }<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â }<br />
Â Â  Â Â Â  Â Â Â Â Â Â  }<br />
Â Â  Â Â Â  Â Â Â Â  }<br />
Â Â Â Â  Â Â Â  Â Â Â  Â },<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  {Â  Â <br />
Â Â  Â Â Â  Â Â Â Â  name: '__metadata.uri', Â <br />
Â Â  Â Â Â  Â Â Â Â  editable: false,<br />
Â Â  Â Â Â  Â Â Â Â  hidden: true,<br />
Â Â  Â Â Â  Â Â Â Â  width: 400},<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  {Â  Â <br />
Â Â  Â Â Â  Â Â Â Â  name: '__metadata.etag', Â <br />
Â Â  Â Â Â  Â Â Â Â  editable: false,width: 100,<br />
Â Â  Â Â Â  Â Â Â Â  hidden: true}],<br />
Â Â  Â Â Â Â Â Â Â Â  onSelectRow: function(id) {<br />
Â <br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â var rowData = $("#Northwinds").getRowData(id);<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â var newUrl = rowData['__metadata.uri'];<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â $(this).setGridParam({<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â 'editurl': newUrl<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â });<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â if (id &#38;&#38; id !== lastSel) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â $("#Northwinds").restoreRow(lastSel);<br />
Â <br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â lastSel = id;<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â }<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â $("#Northwinds").editRow(id, true, null, null);<br />
Â Â  Â Â Â  Â <br />
Â Â Â Â Â Â  Â Â Â  Â },<br />
Â Â  Â Â Â  Â <br />
Â Â  Â Â Â  Â serializeRowData: function(postdata) { //USED ON EDIT<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â var x = JSON.stringify(postdata);<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â return x;<br />
Â Â Â Â Â Â  Â Â Â  Â },<br />
Â Â Â Â Â Â  Â Â Â  Â ajaxRowOptions: { // USED ON EDIT<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â contentType: 'application/json; charset=utf-8',<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â datatype: 'json',<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â mtype: 'POST',<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â async: true,<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â beforeSend: function(jqXHR, settings) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â grid = $("#Northwinds").jqGrid(); // get the selected row<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â this.selectedRow = grid.jqGrid('getGridParam', 'selrow'); // add the selected row to the ajax object so we can get at in in the callback<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â var etag = grid.jqGrid('getCell', this.selectedRow, '__metadata.etag');<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â jqXHR.setRequestHeader("X-HTTP-Method", "MERGE");<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â jqXHR.setRequestHeader("If-Match", etag);<br />
Â <br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â var postdata = $.parseJSON(settings.data);<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â delete postdata['oper']; // dont send operation to the server<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â delete postdata['id']; // dont send operation to the server<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â delete postdata["__metadata.etag"];<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â delete postdata["__metadata.uri"];<br />
Â <br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â settings.data = JSON.stringify(postdata);<br />
Â <br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â }, Â <br />
Â Â  Â Â Â  Â success: function(data, textStatus, jqXHR) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â // requery the resource to get the new etag // this is due to a bug in ie that drops all headers associated with an h204<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â var selectedRow = this.selectedRow;<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â $.ajax({<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â beforeSend: function(jqXHR, settings) { // need to pass the selectedRow to the second (nested callback)<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â this.selectedRow = selectedRow;<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â },<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â async: false,<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â contentType: 'application/json; charset=utf-8',<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â datatype: 'json',<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â url: this.url,<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â success: function(data, textStatus, jqXHR) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â var etag = jqXHR.getResponseHeader("ETag");<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â $("#Northwinds").jqGrid("setCell", this.selectedRow, "__metadata.etag", etag); // update the etag on the selected row<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â Â Â  Â }<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â })<br />
Â Â  Â Â Â  Â Â  }<br />
Â Â Â Â Â Â Â Â Â Â  Â Â Â  Â },<br />
Â Â  Â Â Â  Â loadComplete: function (data) {<br />
Â Â Â Â Â Â  Â Â Â  Â Â Â  //setSearchSelect(grid, griddata, 'Category', 'eq');Â Â  Â Â Â Â  Â <br />
Â Â  Â Â Â  Â Â Â  Â },<br />
Â Â  Â Â Â  Â pager: "#pager",Â Â  Â <br />
Â Â  Â Â Â Â Â Â Â Â  rowNum: 1000,<br />
Â Â  Â Â Â  Â rowList: [10, 50, 100, 500, 'All'],<br />
Â Â  Â Â Â  Â height: 'auto',<br />
Â Â  Â Â Â  Â loadonce:true,<br />
Â Â  Â Â Â  Â reloadAfterSubmit: true,<br />
Â Â  Â Â Â  Â viewrecords: true,<br />
Â Â  Â Â Â  Â gridview: true, // insert all the data at once (speedy)<br />
Â Â  Â Â Â  Â caption: 'Theatrical Clearance List'<br />
Â Â  Â Â Â  Â });</p>
]]></description>
        	        	<pubDate>Thu, 28 Aug 2014 02:11:08 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30982</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30982</guid>
        	        	<description><![CDATA[<p>Another question i have is regarding the saved behavior of JQGrid. I want to show the saved values refreshed on the last row when he clicks another row which is not happening right now.</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:42:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30981</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30981</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>Your problem is here:</p>
<p><em>editoptions:{custom_element:function( value , options) {</em><br />
 <em> var elm = $('&#60;textarea rows=10 cols=100&#62;&#60;/textarea&#62;');</em><br />
 <em> elm.val( value );</em><br />
 <em> // give the editor time to initialize</em><br />
 <em> setTimeout( function() {</em><br />
 <em> tinymce.init({selector: "textarea#CommentsRestrictions"});</em><br />
 <em> }, 100);</em></p>
<p>Â </p>
<p>Please look all my code carfully.</p>
<p>Change this to</p>
<p><em>editoptions:{custom_element:function( value , options) {</em><br />
 <em> var elm = $('&#60;textarea rows=10 cols=100&#62;&#60;/textarea&#62;');</em><br />
 <em> elm.val( value );</em><br />
 <em> // give the editor time to initialize</em><br />
 <em> setTimeout( function() {</em><br />
 <strong><em> tinymce.init({selector: "textarea#" + options.id});</em></strong><br />
 <em> }, 100);</em></p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:32:01 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30980</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30980</guid>
        	        	<description><![CDATA[<p>Thanks a lot it did work! i accidentally missed out one change. Is it possible to Â alter the behavior or "Enter" for the text area for new line as it is used by my JQGrid for saving contents</p>
<p>Thanks a lot for your help!</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:28:15 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30975</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30975</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>I see where is the problem. - the id of editable cell is not the same as in form edit.</p>
<p>Below is the modified code, which works for me:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6661' value='Select Code' data-codeid='sfcode6661' /></p>
<div class='sfcode' id='sfcode6661'>
Â </p>
<p>{ "name":"ShipAddress",<br />
Â  "index":"ShipAddress",<br />
Â  "edittype":"custom",<br />
Â  "editoptions":{<br />
Â Â Â Â Â  "custom_element":function( valueÂ  }, options) {<br />
Â Â Â Â Â Â Â  var elm = $('&#60;textarea&#62;&#60;/textarea&#62;');<br />
Â Â Â Â Â Â Â  elm.val( value );<br />
Â Â Â Â Â Â Â  // give the editor time to initialize<br />
Â Â Â Â Â Â Â  setTimeout( function() {<br />
Â Â Â Â Â Â Â Â Â Â Â  tinymce.init({selector: "textarea#" + options.id});<br />
Â Â Â Â Â Â Â  }, 100);<br />
Â Â Â Â Â Â Â  return elm;<br />
Â Â Â Â Â  },<br />
Â Â Â Â Â  "custom_value":function( element, oper, gridval) {</p>
<p>Â Â Â Â Â Â Â Â Â Â Â  var id = element[0].id;<br />
Â Â Â Â Â Â Â Â Â Â Â  if(oper === 'get') {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  return tinymce.get( id ).getContent({format: 'row'});<br />
Â Â Â Â Â Â Â Â Â Â Â  } else if( oper === 'set') {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  if(tinymce.get( id )) {<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  tinymce.get( id ).setContent( gridval );<br />
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  }<br />
Â Â Â Â Â Â Â Â Â Â Â  }<br />
Â Â Â Â Â  }</p>
</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 13:02:26 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30974</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30974</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Did you have included the tinymce javascrip files. I'm going to test this.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 20 Aug 2014 12:47:42 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30965</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30965</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I was missing editable:true hence it didn't show the text area editable, but now it showing up. However i still don't see TinyMice edit tool bar on my inline editing on JQGrid. It is just showing like normal text areaÂ </p>
<p>Your feedback is appreciated.</p>
<p>Â </p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 19 Aug 2014 06:38:07 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30964</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30964</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for your response, I integrated the code but it seems it is not adding the custom element of type textarea to the JQGrid.</p>
<p>Do you think i might be missing anything in terms of required code?</p>
<p>Thanks in advance</p>
]]></description>
        	        	<pubDate>Tue, 19 Aug 2014 06:00:45 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30961</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30961</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>We have successfully use tinymce with custom element and custom value function.</p>
<p>Â </p>
<p>Here is a fragment which work fine in form edit. Just try it in inline edit:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1844' value='Select Code' data-codeid='sfcode1844' /></p>
<div class='sfcode' id='sfcode1844'>
Â </p>
<p>{ "name":"ShipAddress",<br />
Â  "index":"ShipAddress",<br />
Â  "edittype":"custom",<br />
Â  "editoptions":{<br />
Â Â  Â Â  "custom_element":function( valueÂ  }, options) {<br />
Â Â  Â Â Â  Â var elm = $('&#60;textarea&#62;&#60;/textarea&#62;');<br />
Â Â  Â Â Â  Â elm.val( value );<br />
Â Â  Â Â Â  Â // give the editor time to initialize<br />
Â Â  Â Â Â  Â setTimeout( function() {<br />
Â Â  Â Â Â  Â Â Â  Â tinymce.init({selector: "textarea#ShipAddress"});<br />
Â Â  Â Â Â  Â }, 100);<br />
Â Â  Â Â Â  Â return elm;<br />
Â Â  Â Â  },<br />
Â Â  Â Â  "custom_value":function( element, oper, gridval) {<br />
Â Â  Â Â Â  Â Â Â  Â if(oper === 'get') {<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â return tinymce.get('ShipAddress').getContent({format: 'row'});<br />
Â Â  Â Â Â  Â Â Â  Â } else if( oper === 'set') {<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â if(tinymce.get('ShipAddress')) {<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â Â Â  Â tinymce.get('ShipAddress').setContent( gridval );<br />
Â Â  Â Â Â  Â Â Â  Â Â Â  Â }<br />
Â Â  Â Â Â  Â Â Â  Â }<br />
Â Â  Â Â  }</p>
</div>
<p>Â </p>
<p>Try it and let me know if this work in inline edit.</p>
<p>Â </p>
<p>Regards</p>
<p>Â Â  Â Â  </p>
]]></description>
        	        	<pubDate>Mon, 18 Aug 2014 11:41:51 +0300</pubDate>
        </item>
        <item>
        	<title>lalitmj on JQGrid textarea column with Rich Text editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30952</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/jqgrid-textarea-column-with-rich-text-editing#p30952</guid>
        	        	<description><![CDATA[<p>I was recently working on setting inline editing for my SharePoint list and wanted to enable rich text editing for one of my list columns. I've utilized JQGrid inline editing and every thing is working fine except i couldn't enable RTE (rich text editing) for my textarea column. I tried integrating CKEditor MiceEdit and other controls to convert my textarea with RTE functionality but nothing seems to work.Â </p>
<p>I was wondering if JQGrid supports or can integrate RTE functionality while using Inline editing so would appreciate any help in regards to the functinality.</p>
<p>Â </p>
<p>Thanks in advance for your feedback!</p>
]]></description>
        	        	<pubDate>Sun, 17 Aug 2014 15:16:33 +0300</pubDate>
        </item>
</channel>
</rss>