datatables根据屏幕自适应后,固定显示列
$('#example').on( 'column-sizing.dt', function ( e, settings ) {
console.log($("#example tr").find("th:eq(列号)").html());
var thh = $("#example tr").find("th:eq(列号)");
thh.css("width","56px");
thh.css("display","");
var tdd = $("#example tr").find("td:eq(列号)");
tdd.css("display","");
} );
列号为table中要固定的列,从0开始