Comments (3)
@lefkiospaikousis With the new version (not on CRAN yet, but soon hopefully), you don't need to filter anymore if you want only the leaves. There's an option selectLeavesOnly = TRUE
in the jstree
function.
from jstreer.
Hi,
Yes. If the outputID of your tree is treeid
then the selected nodes are in input$treeid_selected
. Note that you also get the parent nodes, and you have to filter if you want only the leaves. See this example.
from jstreer.
Thanks!
Great package
from jstreer.
Related Issues (20)
- Are there any examples of jsTreeR where the user can save/download a tree structure and later retrieve it/upload it into an active session? HOT 3
- jstreeDestroy updates in shiny HOT 2
- [feature request] updateTree HOT 5
- jstreeOutput is not re-rendered in shiny HOT 9
- Use in shiny package development HOT 5
- jsTree not updating when using `uiOutput()` HOT 9
- input[["mytree_full"]] is not updated on expanding a node HOT 4
- overlapping nodes HOT 5
- FR: tie_selection setting HOT 51
- Misaligned grid if search is activated HOT 23
- Error in browser console when using the grid parameter HOT 23
- Pass undetermined state to input$treeID_full HOT 8
- input[["mytree_full"]] is not updated on renaming a node HOT 2
- Error when using custom contextMenu HOT 1
- FR: modify jstree config (core.expand_selected_onload) HOT 6
- jsTreeCopied Event not recorded HOT 4
- jsTreeDeleted Event not recorded
- Reordering node under root HOT 1
- jsTreeR affects other htmlwidgets' styling HOT 2
- jsTreeR disables reactive callbacks from bslib nav containers HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jstreer.