SHARE
TWEET

Untitled

a guest Jul 5th, 2013 30 Never
  1. dataEvents: [{ type: 'keydown', fn: submitRowData} ]
  2.  
  3. var submitRowData = function(e) {
  4.     var key = e.charCode || e.keyCode;
  5.     if (key == 13)//enter
  6.     {
  7.     jQuery('#grid1').jqGrid('saveRow',globalSelId,true,null,
  8.             successMsgHandler,null,null,null,saveErrHandler);
  9.     }
  10. }
RAW Paste Data
Top