![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bootstrap table
mingqingyuefeng
分享关注我的公众号[畅学前端]
展开
-
Bootstrap Table--onEditableSave
当某列编辑完成后,需要对当前列所在的行进行修改操作: $("#grid").bootstrapTable({ url:'', …… …… //其他属性 columns:[{ field:'rowId', title:'序号', width:30, align: 'center'转载 2017-07-30 19:30:39 · 8296 阅读 · 0 评论 -
bootstrap table中cellStyle以及formatter的问题
公司做项目,需要用到bootstrap table中不同表格,根据情况,显示不同 背景颜色。报错函数:function color(value,row,index){ if(row.appid==2){//已经提交数据,颜色变化 return { css:{ 'background':'#F0E68C' } } } }报错内容:原创 2017-09-30 10:29:09 · 8891 阅读 · 0 评论 -
临时-bootstrap table 单击获取当前行号
// 单击事件获取当前行号 $('#bootstrapTable').on("click-row.bs.table",function(e, row, $element) { var index= $element.data('index');});转载 2018-01-04 15:37:59 · 1649 阅读 · 0 评论