JS實現table 列鎖定

滾動條監聽事件,定位元素位置 $(".jqGrid_wrapper").scroll(function() { var left=$(".jqGrid_wrapper").scrollLeft();//獲取滾動的距離 var ths=$(".jqGrid_wrapper table").eq(0).find("tr");//獲取表格的全部tr ths.each(function(i){
相關文章
相關標籤/搜索