The jstree
function has a new argument coreOptions
, allowing to pass a
list of jsTree core options. For advanced usage.
There was a JavaScript error occurring in Shiny apps when the browser window was resized while using a jsTree grid in the app. It has been fixed.
When a jstree
had some reactive dependencies in a Shiny app, it was not
re-rendered when these dependencies were updated.
The Shiny input value ID_full
now indicates the undetermined states regarding
the checkboxes.
New option checkWithText
; it is a TRUE
/FALSE
option about the behavior
of the checkboxes: it controls whether the checkboxes must be (un)checked when
clicking on the text of a node (thanks @ismirsehregal for the feature request).
The Shiny input value ID_selected_tree
(see ?jstree-shiny
) has been
renamed to ID_checked_tree
, and there are new Shiny values provided when
the checkboxes are enabled. Their description is given in ?jstree-shiny
.
New feature for grids: when search=TRUE
, there is now one search box for
each column of the grid (thanks @ismirsehregal for the feature request and for
the help).
Upgraded jsTree to 3.3.16.
Added new JavaScript events related to nodes: opened, closed, and selected.
.onAttach
instance has been replaced with a .onLoad
instance.jstreeUpdate
, to update a tree in a Shiny app.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.