Git Product home page Git Product logo

Comments (8)

azizali avatar azizali commented on May 12, 2024

Here is the example of that
http://azizali.com/react-super-treeview/examples/#checkbox

When a note is checked this callback gets triggerred
onCheckToggleCb

You can write a function that will run every time something is checked/unchecked.

Also this component has multi-check option. You can press shift on your keyboard and then check a range of notes. In that case the same prop onCheckToggleCb will trigger. This time with all the the nodes which were checked/unchecked.

from react-super-treeview.

nitrogene avatar nitrogene commented on May 12, 2024

Is there a way to hide the checkboxes, while keeping the same behavior ?

from react-super-treeview.

nitrogene avatar nitrogene commented on May 12, 2024

Something puzzles me. Using your example, if I click anywhere on a node line (starting from the checkbox and ending with the X mark), the callback is fired. In my case, the event is fired only if I click on the check box. The only difference I see is that i set isDeletable to false....

from react-super-treeview.

azizali avatar azizali commented on May 12, 2024

from react-super-treeview.

nitrogene avatar nitrogene commented on May 12, 2024

from react-super-treeview.

jason2li avatar jason2li commented on May 12, 2024

Agreed, I would like this feature as well.

from react-super-treeview.

sandipbgt avatar sandipbgt commented on May 12, 2024

any update on this feature?

from react-super-treeview.

karthikaditya avatar karthikaditya commented on May 12, 2024

HI @azizali , is there a update on this feature?

from react-super-treeview.

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.