GithubHelp home page GithubHelp logo

[feature request] updateTree about jstreer HOT 5 CLOSED

stla avatar stla commented on June 16, 2024
[feature request] updateTree

from jstreer.

Comments (5)

stla avatar stla commented on June 16, 2024 1

Hi @rhalbersma

I've done the implementation. To install:

remotes::install_github("stla/jsTreeR@updateJsTree")

And the new function is jstreeUpdate.

Please give feedback.

from jstreer.

stla avatar stla commented on June 16, 2024

Hi,

I will take a look at the shinyTree implementation, because I don't see how to do.

How is the shinyWidgets tree? Nice?

Thanks for the report.

from jstreer.

rhalbersma avatar rhalbersma commented on June 16, 2024

Thank you very much! That was amazingly quick! Looking at the source it is a surprisingly tiny amount code.

from jstreer.

LennyyGH avatar LennyyGH commented on June 16, 2024

Hi @stla ,

I have tested the jstreeUpdate function and it seems to be working well. However, in my real world application I am using an onRender function after the initialization of the tree, comparable to in jstreeExample("filtering"). This onRender functionality seems to be lost after using jstreeUpdate. Do you have a suggestion to use an onRender function combined with jstreeUpdate?

For example, I would like to use jstreeUpdate to select some nodes in the tree based on another input widget, and still use onRender logic afterwards to hide (other) specific nodes.

Many thanks for a nice package nonetheless!

from jstreer.

stla avatar stla commented on June 16, 2024

No idea, sorry.

from jstreer.

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.