-
The
jstreefunction has a new argumentcoreOptions, 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
jstreehad 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 aTRUE/FALSEoption 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 toID_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.
- The
.onAttachinstance has been replaced with a.onLoadinstance.
- New example showing how to disable the context menu for some nodes (thanks @ismirsehregal).
- New function
jstreeUpdate, to update a tree in a Shiny app.
- Fixed bug #11: the search bar was not destroyed by a call to
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 likeinput$ID_selectedbut 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.
- Allow alternative ways to populate the tree: using a callback function, or using AJAX, possibly with lazy loading.
- Upgraded 'jstree' library to version 3.3.12.
Added an example of custom context menu.
- The
jstreefunction has a new argumentselectLeavesOnlyfor usage in Shiny; ifTRUE, only the selected leaves are retained in the selection. - Added some Shiny examples.
- Upgraded 'jstree' library to version 3.3.11.
- Dependency to the 'fontawesome' package.
- Dependency to the 'jquerylib' package.
- Always exclude
.gitand.Rproj.userfolders in the gadget. - New Shiny example: filtering countries.
- Removed an unwanted
printstatement infolderGadget. - Added
trashoption tofolderGadget; it adds a trash to the gadget, allowing to restore deleted elements. - Added new context menu item 'Explore here' in
folderGadget; it closes the gadget and relaunches it at the selected folder.
- Better Shiny example 'SuperTinyIcons'.
- Removed
jsonlitedependency. - Allow to pass a list of options to the
contextMenuargument. - The Shiny value of the tree is now updated when the user creates/deletes/renames/pastes a node.
- New Shiny value
jsTreeMovedtriggered when a node is moved. - New Shiny value
jsTreeRenamedtriggered when a node is renamed. - New Shiny value
jsTreeCopiedtriggered when a node is copied. - New Shiny value
jsTreeDeletedtriggered when a node is deleted. - New Shiny value
jsTreeCreatedtriggered when a node is created. - New function
folderGadget, which launches a Shiny gadget allowing to manipulate one or more folders.
First release.