How to get x-scroller & y-scroller's position while first column is static?

How to get x-scroller & y-scroller's position while first column is static?

amryamry Posts: 2Questions: 2Answers: 0

I created simple datatables, with button function to set scroller position by getting x-scroller & y-scroller position.

However, when I made first column as static (unscrollable), somehow can't get scroller position.

Can anyone help me with this issue?

I attached my sample file here for reference.

Answers

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin

    Your page is loading DataTables 1.10.11, which uses different class names from v2. Your event handler appears to be looking for DataTables 2 class names.

    The discrepancy is what is causing the issue. I'd strongly encourage you to update from 1.10.11 to v2. v1 is no longer supported.

    Allan

Sign In or Register to comment.