复制代码
- $("#TbRoleList").bootstrapTable({
- url: "../Role/Get",
- columns: [
- [
- {
- field: '',
- checkbox: true,
- align: 'center',
- valign: 'middle',
- }, {
- title: 'Id',
- field: 'Id',
- align: 'center',
- valign: 'middle',
- visible: false
- }, {
- title: '角色',
- field: 'RoleName',
- align: 'center',
- valign: 'middle',
- sortable: false,
- }, {
- field: 'operate',
- title: '操作',
- align: 'center',
- events: operateEvents,
- formatter: operateFormatter
- }
- ]
- ]
- });
复制代码
来源: http://www.qdfuns.com/article/25693/570007d7363bccbe83edb5893f86455a.html