Code Monkey home page Code Monkey logo

Comments (6)

madrang avatar madrang commented on June 23, 2024

I will try to track it down tomorrow. Here it's 4:20 am and been up since 8:00 am yesterday.

from jstree.

vakata avatar vakata commented on June 23, 2024

Are you using the 1.0 branch or pre1.0? As json_data is not yet ready in 1.0. In pre1.0 you need to return a value in the data function - that will be used to build the menu, right now I see that nothing is returned - this should be the reason for the missing tree.

from jstree.

madrang avatar madrang commented on June 23, 2024

I am using the latest 1.0 code. If it isn't complete then i will try to make it work anyway. Not like i really have other stuff to do...

from jstree.

vakata avatar vakata commented on June 23, 2024

I hope to release the updated json_data plugin today :)

from jstree.

madrang avatar madrang commented on June 23, 2024

For the data function it was nice to be able to have a callback as i can't stall and wait for the asyc function to return. And if right now it does need to return something then it should be changed as i'm probably not alone that the data function is using async to retrieve the needed data.

from jstree.

vakata avatar vakata commented on June 23, 2024

Please read the full docs on json_data. Jstree supports async natively and provides all necessary callbacks, you do not need to reimplement this in your function :)

Kindest regards,
Ivan

from jstree.

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.