Code Monkey home page Code Monkey logo

Comments (4)

vakata avatar vakata commented on July 21, 2024

Sorry, I cannot view the link ... at all - I get a 404 error. Anyway - the search plugin will be reenabled soon (in branch v.1.0)
Please say when the page is up again.

Kindest regards,
Ivan

from jstree.

vakata avatar vakata commented on July 21, 2024

Hi again, I see what you mean by search, but I do not get the idea behind it - sorry - please explain further. Why aren't you using the native jstree search?

from jstree.

assafwo avatar assafwo commented on July 21, 2024

the native jstree search searches for a string in the existing tree.
we need to search an integer - subject id.
and the subtree might not be on the local browser yet.
*
my next question is:
i am retrieving from my server a json array representing the path to a
subject that i would like to expand. how would you go about it?*

2011/5/13 vakata <
[email protected]>

Hi again, I see what you mean by search, but I do not get the idea behind
it - sorry - please explain further. Why aren't you using the native jstree
search?

Reply to this email directly or view it on GitHub:
#1 (comment)

אסף ווידסלבסקי,
www.mdn.co.il

from jstree.

vakata avatar vakata commented on July 21, 2024

Hi, the search method can work with the server (async). Anyway - I would return the array of IDs to expand ... and then expand them one by one (loading from the server as needed) - btw - this is exactly what the search plugin does - see the code for examples.

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.