onDblClickCell:function(rowIndex, field, val){//双击单元格监听器 
     $(this).datagrid('beginEdit',rowIndex);//开启编辑
     var ed = $(this).datagrid('getEditor', {index:rowIndex,field:field});//获取当前编辑器
     $(ed.target).focus();//获取焦点
}

 

相关文章:

  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2021-04-21
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
相关资源
相似解决方案