我是靠谱客的博主 无心豆芽,最近开发中收集的这篇文章主要介绍获取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的datagrid如何获取选中行数据所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部