Giter Club home page Giter Club logo

Comments (7)

 avatar commented on July 21, 2024

Can you try the nightly version please? https://datatables.net/download/nightly .

from scroller.

cataragak90 avatar cataragak90 commented on July 21, 2024

Can you try the nightly version please? https://datatables.net/download/nightly .

I have the same problem

from scroller.

 avatar commented on July 21, 2024

Okay - thanks for letting me know about this. I'll post back once I've had a chance to look into it.

from scroller.

smartymann avatar smartymann commented on July 21, 2024

H there,
just started a new project using datatables and scroller and can confirm, that the stateSave and scrollPosition is not working anymore. Went one version back and everything is working again.

from scroller.

terracatta avatar terracatta commented on July 21, 2024

I believe I am facing this issue as well with Scroller 2.0.0. I am using Scroller with server side processing enabled. When I scroll down a large data-set and then go back to the table, the scroll position appears to be maintained but I cannot scroll the dataset up (it appears I am at the top of the dataset when I am not).

If I downgrade to release 1.5.x, this feature works as expected.

from scroller.

oprudkyi avatar oprudkyi commented on July 21, 2024

Hi, as for Scroller version 2.0.2 even sample from https://datatables.net/extensions/scroller/examples/initialisation/state_saving.html doesn't work at all, I see

jQuery.Deferred exception: Cannot read property 'scroller' of null TypeError: Cannot read property 'scroller' of null
    at HTMLTableElement.<anonymous> (https://cdn.datatables.net/scroller/2.0.2/js/dataTables.scroller.min.js:26:93)
    at HTMLTableElement.dispatch (https://code.jquery.com/jquery-3.5.1.js:5429:27)
    at HTMLTableElement.elemData.handle (https://code.jquery.com/jquery-3.5.1.js:5233:28)
    at Object.trigger (https://code.jquery.com/jquery-3.5.1.js:8715:12)
    at HTMLTableElement.<anonymous> (https://code.jquery.com/jquery-3.5.1.js:8793:17)
    at Function.each (https://code.jquery.com/jquery-3.5.1.js:381:19)
    at jQuery.fn.init.each (https://code.jquery.com/jquery-3.5.1.js:203:17)
    at jQuery.fn.init.trigger (https://code.jquery.com/jquery-3.5.1.js:8792:15)
    at A (https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js:90:157)
    at jQuery.fn.init.Aa (https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js:86:1) undefined

Uncaught TypeError: Cannot read property 'scroller' of null
    at HTMLTableElement.<anonymous> (dataTables.scroller.min.js:26)
    at HTMLTableElement.dispatch (jquery-3.5.1.js:5429)
    at HTMLTableElement.elemData.handle (jquery-3.5.1.js:5233)
    at Object.trigger (jquery-3.5.1.js:8715)
    at HTMLTableElement.<anonymous> (jquery-3.5.1.js:8793)
    at Function.each (jquery-3.5.1.js:381)
    at jQuery.fn.init.each (jquery-3.5.1.js:203)
    at jQuery.fn.init.trigger (jquery-3.5.1.js:8792)
    at A (jquery.dataTables.min.js:90)
    at jQuery.fn.init.Aa (jquery.dataTables.min.js:86)

from scroller.

 avatar commented on July 21, 2024

Yes, sorry about that. It was fixed here. We’ll do a patch release soon.

from scroller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.