jQuery EasyUI的API文档中写到:

    “数据表格下拉框事件完全扩展自combo(自定义下拉框)和datagrid(数据表格)”

  这也就是说,我们完全可以将combo和datagrid的事件拿过来用。于是,combogrid的选中事件就是:

$('#ip').combogrid('grid').datagrid({
  onClickRow:function(rowIndex,rowData){
    console.log("选中");
  }
})
            

 

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-07-16
  • 2022-03-09
  • 2021-04-25
猜你喜欢
  • 2021-08-28
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-09-30
相关资源
相似解决方案