Code Monkey home page Code Monkey logo

Comments (6)

patosai avatar patosai commented on August 18, 2024 1

Ok I can see it being useful. Hang on.

from tree-multiselect.js.

patosai avatar patosai commented on August 18, 2024

Could you wrap all your options with a section? Then you could just check/uncheck one box.

from tree-multiselect.js.

dclarke83 avatar dclarke83 commented on August 18, 2024

Thanks for replying patosai!
If possible, I would prefer not to wrap everything in an outer section - I am already using sections and don't want to show all sections open by default (which I would probably have to do, if I had a single outer section, otherwise my users wouldn't see the options available to them).

image

from tree-multiselect.js.

patosai avatar patosai commented on August 18, 2024

f9997b0 should do it. I'm not sure how to best style it; let me know what you think.

from tree-multiselect.js.

dclarke83 avatar dclarke83 commented on August 18, 2024

Functionally, what you have added is perfect - thank you for being so accommodating! For my application, I would like to style the links as bootstrap btns - maybe the css classes used for the spans can be an option?. Is it possible to make the "Select All" and "Un Select All" text variable (via options)? I would like to localize it so that the appropriate translation may be displayed for the end user's language.

from tree-multiselect.js.

patosai avatar patosai commented on August 18, 2024

You can modify the source yourself for the bootstrap buttons. I think having the text as an option is a good idea.

from tree-multiselect.js.

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.