左侧固定列与表colspan
我使用过这个.js文件和以下方法。
https://code.jquery.com/jquery-3.3.1.js https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js https://cdn.datatables.net/ fixedcolumns / 3.2.6 / JS / dataTables.fixedColumns.min.js
var table = $("#ShowDetails").DataTable({ scrollX: true, scrollCollapse: true, paging: false, fixedColumns: { leftColumns: 1,} });
但它不能正常工作,我需要知道如何做这样的表结构。
高亮应该冻结
试试这个例子http://www.cubicfactory.com/jseditor/welcome/137556/edit确保你在这个例子中包含了所有的js库