jstreeDestroy.New example showing how to use some images as icons (thanks @ismirsehregal).
Upgrade of ‘SuperTinyIcons’.
The package now provides the ‘tree navigator’ Shiny module, which allows to render a files and folders navigator in the server side file system.
New Shiny input value accessible in
input$ID_selected_tree. This is like
input$ID_selected but it also provides the ascendants of
the selected nodes.
Upgraded ‘jsTree’ library to the development version.
New Shiny input value accessible in
input$ID_selected_paths. This is like
input$ID_selected but it gives the paths to the selected
nodes instead of only the text field. This is useful when some nodes
have the same string in the text field.
Added the new function jstreeDestroy which destroys a
tree. It is necessary to call this function if you want to change the
nodes of a tree.
Added an example of custom context menu.
jstree function has a new argument
selectLeavesOnly for usage in Shiny; if TRUE,
only the selected leaves are retained in the selection..git and .Rproj.user
folders in the gadget.print statement in
folderGadget.trash option to folderGadget; it
adds a trash to the gadget, allowing to restore deleted elements.folderGadget; it closes the gadget and relaunches it at the
selected folder.jsonlite dependency.contextMenu
argument.jsTreeMoved triggered when a node is
moved.jsTreeRenamed triggered when a node is
renamed.jsTreeCopied triggered when a node is
copied.jsTreeDeleted triggered when a node is
deleted.jsTreeCreated triggered when a node is
created.folderGadget, which launches a Shiny
gadget allowing to manipulate one or more folders.First release.