title: how to write time picker field in jqgrid
body: <p>how to add time picker field in jqgrid ...This is my code here how to add time picker filed in jqgrid</p>
  
  <p>These are the import files </p>
  
  <pre><code>&lt;link rel="stylesheet" href="css/redmond/jquery-ui.css"&gt;    
  &lt;link rel="stylesheet" href="css/redmond/jquery.ui.theme.css"&gt;
  &lt;link rel="stylesheet" href="css/ui.jqgrid.css"&gt;
  
    &lt;link rel="stylesheet" href="css/redmond/jquery-ui-timepicker-addon-1.4.3.css"&gt;
   &lt;script src="js/jquery.jqGrid.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery.jqGrid.src.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/grid.locale-en.js" type="text/javascript"&gt;&lt;/script&gt;    
  &lt;script src="js/grid-search.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="js/jquery-ui.min.js" type="text/javascript"&gt;&lt;/script&gt;  
      &lt;script src="jquery-ui-timepicker-addon-1.4.3.js" type="text/javascript"&gt;&lt;/script&gt;
  
  
  {name:'joinDate',index:'joinDate',width:4.5,
              editable:true,editoptions:{size:12,
                  dataInit:function(elem){
                  $(elem).datetimepicker({dateFormat: 'dd-mm-yy',
                      timeFormat: 'H:mm',});
                  },
          defaultValue: function(){
                  var currentTime = new Date();
                  var month = parseInt(currentTime.getMonth() + 1);
                  month = month &lt;= 9 ? "0"+month : month;
                  var day = currentTime.getDate();
                  day = day &lt;= 9 ? "0"+day : day;
                  var year = currentTime.getFullYear();
                  return year+"-"+month + "-"+day;                
                  }},
                  editrules:{required:true},
              formatoptions: {srcformat:'ISO8601Long', newformat:'d-M-y H:i'}},
  </code></pre>
  
  <p>Any one Please reply me</p>
  
  <p>Thanks in adavance</p>