recently, if you want to make a table, you need to fix the header and display the first two columns, because the table has a large number of columns, and the width of the table is more than 7000 px.
then I have to do fixed two-column positioning. Calculate the fixed two-column left positioning value when the table scroll bar is scrolling, and always set the value for him. Testing Google browser and Sogou is no problem, but when Firefox scrolls to set the left value, the final display is fine, but the two columns will flash left and right in the process. Because the scroll bar scrolls are calculating the value at this time.
I would like to ask who can help me with this performance optimization.