<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -405,9 +405,13 @@ function createEl(eltype,options,vl,autowidth, ajaxso) {
 			break;
 		case &quot;custom&quot; :
 			try {
+				elem = document.createElement(&quot;span&quot;);
 				if(jQuery.isFunction(options.custom_element)) {
-					elem = options.custom_element.call(this,vl,options);
-					if(elem) jQuery(elem).addClass(&quot;customelement&quot;).attr({id:options.id,name:options.name});
+					var celm = options.custom_element.call(this,vl,options);
+					if(celm) {
+						jQuery(celm).addClass(&quot;customelement&quot;).attr({id:options.id,name:options.name});
+						jQuery.(elem).append(celm);
+					}
 					else throw &quot;e2&quot;;
 				} else 	throw &quot;e1&quot;;
 			} catch (e) {</diff>
      <filename>js/grid.common.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>93c4fdac38e0288d30d39f907050c5cc83d2c873</id>
    </parent>
  </parents>
  <author>
    <name>tomovtony</name>
    <email>tony@trirand.com</email>
  </author>
  <url>http://github.com/andrewwatts/jqGrid/commit/d5954efc89c80c5753a64330a7d77173a16c8043</url>
  <id>d5954efc89c80c5753a64330a7d77173a16c8043</id>
  <committed-date>2009-11-03T05:27:32-08:00</committed-date>
  <authored-date>2009-11-03T05:27:32-08:00</authored-date>
  <message>Custom element fix in case there is custom ajax request for the element</message>
  <tree>d7d3625c95669f646295a9411b99bc724bc2837a</tree>
  <committer>
    <name>tomovtony</name>
    <email>tony@trirand.com</email>
  </committer>
</commit>
