在ie和edge中,显示固定列后,数据过多时(也就几百行而已),滚动table很卡,
而且有时候还会错行,错行后有时候再滚一下就回复了,有时候又怎么滚都不会自动回复,
客户需求又不能让固定列禁止滚动。请问有什么办法让两个列的滚动条保持绝对一致呢?????
...//滚动非固定列时if ( mouseController === 'main' ) { if ( that.s.iLeftColumns > 0 ) { that.dom.grid.left.liner.scrollTop =that.dom.scroller.scrollTop; } if ( that.s.iRightColumns > 0 ) { that.dom.grid.right.liner.scrollTop =that.dom.scroller.scrollTop; } } ... ...//滚动固定列时 if ( mouseController === 'left' ) { that.dom.scroller.scrollTop = that.dom.grid.left.liner.scrollTop; if ( that.s.iRightColumns > 0 ) { that.dom.grid.right.liner.scrollTop = that.dom.grid.left.liner.scrollTop; } } ...
麻烦各位大神了
相关分类