- 博客(5)
- 资源 (8)
- 收藏
- 关注
原创 bootstrapTable 表头固定(可全局控制) 列与列无缝对接
在项目上遇到bootstrapTable限制高度后,滚动条滚动后,表头跑上面去了,为解决这个问题,自己修改了一些bug;前端代码如下,主要是修改了bootstrap-table.js,文章后面会贴链接。 <div style="width:52%; float:left;height:340px;" id="FreezingHeadDiv_Order"> <table id="tb_order"></table> </div>`
2022-01-04 16:56:07 1841
原创 bootstrapTable-modal模态框 可拖动设置
工作上遇到客户要去模态框可拖动,今天整理了一些<div class="modal fade bs-example-modal-lg" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class=" modal-dialog modal-lg" role="document"> <div class="modal-content">
2021-12-06 17:56:16 1685
原创 bootstrapTable实现拖动行保存顺序 解决一个页面有2个bootstrapTable时 其中一个不需要拖动时,设置reorderableRows:false无效的问题
最近在工作中,客户说要实现bootstrapTable行拖动保存顺序的功能。其中遇到一个页面有2个bootstrapTable时,有一个不需要实现行拖动功能,但设置reorderableRows:false 属性无效,后来找到解决方法。2个bootstrapTable都要加上reorderableRows属性,否则报错!前提 <link href="~/Content/bootstrap-table/extensions/reorder-rows/bootstrap-table-reord
2021-12-06 17:26:37 1133
原创 JQ--replaceWith()
replaceWith简单使用jQuery中,有一个强大的替换函数replaceWith(),使用非常简单,如:页面有如下p标签把所有p标签替换为“##”?1$('p').replaceWith('##');执行后的结果: 替换标签利用这个
2016-01-25 13:38:11 1029
原创 JQ-siblings()方法返回被选元素的所有同级元素。
$('.a').click(function(){ $(this).addClass('r').siblings('.t').removeClass('r');});
2016-01-10 19:24:59 1492
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人