Coder Social home page Coder Social logo

Persistence for lazy trees about fancytree HOT 6 CLOSED

mar10 avatar mar10 commented on August 20, 2024
Persistence for lazy trees

from fancytree.

Comments (6)

mar10 avatar mar10 commented on August 20, 2024

Are you talking about the addExpandedKeyList option for initAjax that was available in Dynatree?
(This required the server to evaluate this info and return expanded nodes.)

from fancytree.

lifejuggler avatar lifejuggler commented on August 20, 2024

you mentioned loadkey path to re-load nested structures. But I also saw in the persistence example for fancytree there was the broken lazy children that were not loaded at all and was wondering if you can fix those example...

from fancytree.

mar10 avatar mar10 commented on August 20, 2024

see also #6

from fancytree.

lifejuggler avatar lifejuggler commented on August 20, 2024

I don't understand the reference... I tried the #6 but didn't have much success ( I guess I am too much of a noob). So I was wondering if you'll be fixing the example of persistence to include the lazytree example. So I can use it as a reference

from fancytree.

mar10 avatar mar10 commented on August 20, 2024

seems that my main comment (just before 'see also') got lost, maybe because I edited the issue title at the same time.
What I said was: "
I could only quick-fix the sample by removing the lazy nodes ;-)
The recommended way in DynaTree was to pass a list of expanded node keys with the initAjax request, so the server can send the tree including expanded children (which may be a pretty efficient approach by the way).
Fancytree may offer a better solution some day, but it is not even specified yet.
I changed the title of this issue, so we can pick it up when time allows.

from fancytree.

mar10 avatar mar10 commented on August 20, 2024

This feature is now discussed here: #11

from fancytree.

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.