填报报表:目前表中冻结了前两个列,现在有个需求,要冻结后两个列怎么做呢?
冻结后两列,提单金额,和差额列
只能重复,不能冻结
试试这个js
在填报预览加载结束事件中增加样式调整
多列冻结
$("tr td:last-child").css({"position":"sticky","right":"0px"});
$("tr td:nth-last-child(2)").css({"position":"sticky","right":"60px"});
$("tr td:nth-last-child(3)").css({"position":"sticky","right":"120px"});