jsTree icon indicating copy to clipboard operation
jsTree copied to clipboard

user determined sequencing of folders

Open dockstreet opened this issue 7 years ago • 3 comments

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

dockstreet avatar Feb 12 '18 19:02 dockstreet

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)

yonicd avatar Feb 12 '18 23:02 yonicd

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

dockstreet avatar Feb 21 '18 05:02 dockstreet

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.

yonicd avatar Feb 21 '18 11:02 yonicd