Fixed Columns scrolls only first columns not other columns.
Fixed Columns scrolls only first columns not other columns.
deecee2000
Posts: 2Questions: 1Answers: 0
It happens when you bring the mouse over the Fixed column from another window and start scrolling with the mouse before clicking in the first window.
Does any one faced this issue before?
- Open the following url in first browser.
https://www.datatables.net/extensions/fixedcolumns/ - Open new window, click anywhere there.
- Mouse hover on first window, do not click anywhere. Bring mouse to freezed column and try to scroll.
- It scrolls only that first freezed column, not entire data table.
Is it DataTables bug or is there some workaround?
Thanks,
This discussion has been closed.
Answers
So the window you are scrolling the DataTable in doesn't have focus? That I think is an "optimisation" by the browser (which browser are you using?). I think it won't be firing the
scroll
event when not focused, so there is no way to sync the two scrolling components unfortunately.Allan
I tested this with Chrome and Firefox. They both have same issue.