cutterbl / bootstrap-tree Goto Github PK
View Code? Open in Web Editor NEWA lightweight Tree component, built for use with the Twitter Bootstrap framework
A lightweight Tree component, built for use with the Twitter Bootstrap framework
The tree example didn't work for me out of the box.
Changing line 88 from $.post
to $.get
fixes the problem for me.
What is the purpose of using $.post
in this scenario?
data like this
-root
-grandparent 1
-parent 1
-child 1
-grandparent 2
If you load any leaf
elements onto the tree which are not contained in a branch
it gives an error that the method doesn't exist on undefined... which makes sense
$("body").on("click.tree.data-api", "[role=leaf]", function (e) {
.........
e = $.Event("nodeselect", {
node: $(branch).data("tree").node($this)
});
I tried hacking in basic support for this, but I couldn't get it right... ideas?
Hi Cutter,
I have little experience with javascript, I'm trying to send data via ajax to a function but can not find the way, is there the possibility to do so?
Regards,
Julián
Cannot collapse a tree in Chrome because javascript tries to set a property on a string.
Occurs in bootstrap-tree.js:420
Plugin has global styles and styles for tags. It's very bad. Needed class-wrapper.
a:link,
a:visited,
a:hover,
a:active {
color: #000;
text-decoration: none;
}
a:hover {
text-decoration: underline;
cursor: pointer;
}
Hi,
The bootstrap tree works fantastically in firefox, chrome and IE.
But i am facing issues in Safari. Once you open a branch, it cant be closed.
I get the error:
"Type Issue: Attempted to assign to readonly property"
Please help.
Thanks,
Karan
On line 54 of bootstrap-tree.js you have a single quote closing a string that is opened with a double quote, causing an error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.