title: Jqgrid custom edittype custom_element event not firing
body: <pre><code>&lt;script src="jquery-1.8.0.min.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="grid.locale-en.js" type="text/javascript"&gt;&lt;/script&gt;
      &lt;script src="jquery.jqGrid.min.js" type="text/javascript"&gt;&lt;/script&gt;
     &lt;script type="text/javascript"&gt;    
      function myelem(value, options) {
              alert('1'); 
              var el = document.createElement("input");
              el.type = "radio";
              if (value == "0")
                  el.checked = false;
              else
                  e1.checked = true;
              return el;
          }
  
          function myvalue(elem, operation, value) {
              if(operation === 'get') {
                 return $(elem).find("input").val();
              } else if(operation === 'set') {
                 $('input',elem).val(value);
              }
         }
  
         function FailGrdTranHistory() {
             alert('Function Execution Failed...');
         }
         function successSubGridFunction(jsondata) {
             HideCommentHeader();
             var thegrid = jQuery("#" + SubGridTableName)[0];
             var jdata = jsondata.d; //.split("~");
             thegrid.addJSONData(JSON.parse(jdata));
             unblockPage();
         }
  
          jQuery(document).ready(function () {
              jQuery("#jqGrid1").jqGrid({
                  datatype: "local",
                  height: 250,
                  colNames: ['Inv No', 'From','Date', 'Client', 'Amount', 'Tax', 'Total', 'Notes'],
                  colModel: [
                      { name: 'id', index: 'id', width: 60, sorttype: "int" },
                      {name: 'from',width:60,editable: true,edittype: 'custom',editoptions: {custom_element: myelem, custom_value:myvalue}},
                      { name: 'invdate', index: 'invdate', width: 90, sorttype: "date" },
                      { name: 'name', index: 'name', width: 100 },
                      { name: 'amount', index: 'amount', width: 80, align: "right", sorttype: "float" },
                      { name: 'tax', index: 'tax', width: 80, align: "right", sorttype: "float" },
                      { name: 'total', index: 'total', width: 80, align: "right", sorttype: "float" },
                      { name: 'note', index: 'note', width: 150, sortable: false }
                  ],
                  pager: '#pager',
                  rowNum: 10,
                  rowList: [10, 20, 30],
                  sortname: 'id',
                  sortorder: 'desc',
                  viewrecords: true,
                  imgpath: "lib/basic/images",
                  caption: "Manipulating Array Data"
              });
  
          var mydata = [
              { id: "1",from: "0" , invdate: "2007-10-01", name: "test", note: "note", amount: "200.00", tax: "10.00", total: "210.00" },
              { id: "2",from: "1", invdate: "2007-10-02", name: "test2", note: "note2", amount: "300.00", tax: "20.00", total: "320.00" },
              { id: "3",from: "0", invdate: "2007-09-01", name: "test3", note: "note3", amount: "400.00", tax: "30.00", total: "430.00" },
              { id: "4",from: "1", invdate: "2007-10-04", name: "test", note: "note", amount: "200.00", tax: "10.00", total: "210.00" },
              { id: "5",from: "1", invdate: "2007-10-05", name: "test2", note: "note2", amount: "300.00", tax: "20.00", total: "320.00" },
              { id: "6",from: "1", invdate: "2007-09-06", name: "test3", note: "note3", amount: "400.00", tax: "30.00", total: "430.00" },
              { id: "7",from: "1", invdate: "2007-10-04", name: "test", note: "note", amount: "200.00", tax: "10.00", total: "210.00" },
              { id: "8",from: "1", invdate: "2007-10-03", name: "test2", note: "note2", amount: "300.00", tax: "20.00", total: "320.00" },
              { id: "9",from: "0", invdate: "2007-09-01", name: "test3", note: "note3", amount: "400.00", tax: "30.00", total: "430.00" }
          ];
          for (var i = 0; i &lt;= mydata.length; i++) {
                  jQuery("#jqGrid1").jqGrid('addRowData', i + 1, mydata[i]);
              }
          });
       &lt;/script&gt;
  </code></pre>
  
  <p>What I am attempting to do is to display a radio button in the column named 'from in the jqgrid.</p>
  
  <p>The 'from' column has edittype = 'custom' but still shows text instead of the expected radio 
  button.</p>
  
  <p>Also I know the myelem function which is bound to the custom_element attribute is not firing because I dont see the alerts popping up when i run the page containing the jqgrid.</p>
  
  <p>The script files i used are at this url <a href="https://docs.google.com/folder/d/0BxqMgWIbBHEFVnJDUmtUYUxKeWc/edit" rel="nofollow">https://docs.google.com/folder/d/0BxqMgWIbBHEFVnJDUmtUYUxKeWc/edit</a></p>