BootStrap Table 获取同行不同列元素
来源:互联网 发布:知乎周刊合集 编辑:程序博客网 时间:2024/05/16 07:00
表格同行中存在元素的相互调用,如何保证元素能够被同行不同列的其他方框使用,方法如下:
页面元素示例如下:
<div id="MyTableId" class="content-main-container"> <div class="panel panel-primary gd-panel" id="mywindow"> <div class="panel-heading"> <b>TableNameElemnt</b> </div> <div class="panel-body"> <table class="table table-bordered" id="csMemberPackageTable" style="word-break: keep-all;"> </table> </div> </div> </div>页面 JS 代码示例如下:
$(function () { $('#MyTableId').bootstrapTable('destroy'); $("#MyTableId").bootstrapTable({ url:'/*** /*** Action_*** List.action', dataType: "json", showRefresh: true, striped: true, cache: true, undefinedText: "-", sortName: "id", sortOrder: "asc", pagination: true, sidePagination: "server", toolbar: "#toolbar", pageNumber:1, pageSize:3, smartDisplay:true, pageList:[5,10,25,50], paginationPreText: "上一页", paginationNextText: "下一页", columns: [{ checkbox: true }, { field:'pId', title:'操作', align:'center', formatter:function(value,row,index){ var aId = row.aId; var bId = row.bId; var cId = row.cId; var a = '<a href="/**** /**** Action_**** GoJsp.action?ResObj.' + 'pId='+pId+'&ResObj.aId='+aId + '&ResObj.bId='+bId+ '&ResObj.cId='+cId+ '"'+'class="cs_menuTab"> 编辑全部 Id </a>'; return a; } },{ field: "aId", title: "A 标签", align: "center" }, { field: "bId", title: "B 标签", align: "center" }, { field: 'cId', title: 'C 标签', align: 'center' }] }); });
0 0
- BootStrap Table 获取同行不同列元素
- 同行div设置其内元素不同位置
- bootstrap-table 隐藏某列! 然后选中获取隐藏列的信息!
- POJ 1321棋盘不同行不同列问题 dfs
- 【Bootstrap Table】在指定列中添加下拉框控件,并获取所选值
- TABLE中子元素获取
- bootstrap table列属性的设置
- bootstrap table列属性的设置
- Bootstrap如何隐藏table中的某一列
- bootstrap获取隐藏列值
- Bootstrap table选取表格内元素
- Jq通过td获取同行其它列td
- bootstrap table获取选中行的值
- bootstrap table 单击获取当前行号
- bootstrap table 获取选中行数据
- Bootstrap table的后台数据的获取
- Bootstrap Table获取点击行的index
- Bootstrap Table获取并展示数据列表
- linux操作系统管理
- ora-47995 如何在windows环境下禁用Database Vault
- maven 配置报错 JAVA_HOME not found
- HTC Vive初体验 简单场景的搭建 基本的输入检测
- 利用手机基站获取位置
- BootStrap Table 获取同行不同列元素
- linux 如何自定义信号
- java等比例压缩图片
- 音频压缩工具——Speex的使用
- struts2核心概念
- Codeforces Round #387 (Div. 2) A---D
- Android去掉标题栏以及全屏显示
- ZooKeeper客户端Curator(监听篇)
- HIVE2 Error: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteExc