方法一 通过mergeCells方法 演示地址:http://issues.wenzhixin.net.cn/bootstrap-table/methods/mergeCells.html Merge some cells to one cell, the options contains following properties:index: the row index.field: the field name.rowspan: the rowspan count to be merged.
bootstrap Table 中给某一特定值设置table选中 需求: 如图所示:左边地图人员选定,右边表格相应选中. 功能代码: //表格和图标联动 function changeTableSelect(staffId){ var data = $('#example2').DataTable().rows().nodes(); var data2 = $('#example2').DataTable().rows().data(); $(data).each(function(index,