Closed kohleth closed 6 years ago
this allows the tree to generate properly.
e.g. jsTree(c("A$1","A$2","B$1","B$x/z"),sep="\\$")
.
However, the selected node/branch from input$tree_update$.current_tree
is still parsed as A/1,... B/x/z
.
But that requires changes in the .js
file I believe?
Thanks for the jsTree package. It is great. I am using it to explore a hierarchical data structure, which are not file paths. Imagine in the shiny app you have to navigate through country / state / city. And one of these names happen to have the forward slash
/
, whichjsTree
interprets to be the next level of the hierarchy.This PR let user define what the separator should be by supplying a
sep
argument.