yonicd / jsTree

R htmlwidget for inspecting heirachal structures with the ‘jQuery’ ‘jsTree’ Plugin.
https://yonicd.github.io/jsTree/
Other
30 stars 7 forks source link

user determined sequencing of folders #6

Open dockstreet opened 6 years ago

dockstreet commented 6 years ago

Is there a way we can define an array to be used to order the folders

yonicd commented 6 years ago

The order of the character vector you input. From left to right is the heirarchy. ie a/b/c where b is parent of c and a is parent of b. (Think of it as a file path)

dockstreet commented 6 years ago

Hi - I was actually wondering if the could be customized like instead of a/b/c. Is it possible to have b/a/c , where b would have a predefined top custom sorting attribute. I saw some documentation on a sorting plugin : https://github.com/vakata/jstree/issues/562

yonicd commented 6 years ago

nice idea, but I dont have the time to implement it now. if you want to create a PR you are more than welcome to.