Fixed Columns scrolls only first columns not other columns.

Fixed Columns scrolls only first columns not other columns.

deecee2000deecee2000 Posts: 2Questions: 1Answers: 0
edited March 2015 in Free community support

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?

  1. Open the following url in first browser.
    https://www.datatables.net/extensions/fixedcolumns/
  2. Open new window, click anywhere there.
  3. Mouse hover on first window, do not click anywhere. Bring mouse to freezed column and try to scroll.
  4. It scrolls only that first freezed column, not entire data table.

Is it DataTables bug or is there some workaround?

Thanks,

Answers

  • allanallan Posts: 61,787Questions: 1Answers: 10,115 Site admin

    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

  • deecee2000deecee2000 Posts: 2Questions: 1Answers: 0

    I tested this with Chrome and Firefox. They both have same issue.

This discussion has been closed.