我是靠谱客的博主 无心豆芽,这篇文章主要介绍获取bootgrid选中行数据_easyui的datagrid如何获取选中行数据,现在分享给大家,希望可以做个参考。

编写js模块,为datagrid绑定数据源及配置字段及属性,到这里,datagrid的配置就完成了,这时,我们运行页面就可以得到一个带分页的列表

grid = $("#grid").datagrid({

title: "测试",

view: detailview,

url: 'GetList',

sortName: 'Road2',

sortOrder: 'desc',

idField: 'T_ID',

pageSize: 30,

frozenColumns: [[

{ field: 'ck', checkbox: true }

]],

columns: [[

{ field: 'Road2', title: '路口编号', width: 100, sortable: true, align: 'center' },

{ field: 'Road1', title: '路口名称', width: 160, sortable: true, align: 'center' },

]],

pagination: true,

rownumbers: true,

singleSelect: false,

toolbar: [

{ text: "合并数据", iconCls: "icon-edit", handler: HBSJ },

{ text: "删除数据", iconCls: "icon-remove", handler: Remove },

{ text: "通过审核", iconCls: "icon-ok", handler: function(){SH(2);} },

{ text: "不通过审核", iconCls: "icon-no", handler: function(){SH(1);} }

]

最后

以上就是无心豆芽最近收集整理的关于获取bootgrid选中行数据_easyui的datagrid如何获取选中行数据的全部内容,更多相关获取bootgrid选中行数据_easyui内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(128)

评论列表共有 0 条评论

立即
投稿
返回
顶部