@@ -29,7 +29,7 @@ Getting Started
29
29
30
30
```
31
31
library(shiny)
32
- runApp(system.file("examples/01-simple", package= "shinyTree"))
32
+ runApp(system.file("examples/01-simple", package = "shinyTree"))
33
33
```
34
34
35
35
A simple example to demonstrate the usage of the shinyTree package.
@@ -38,7 +38,7 @@ A simple example to demonstrate the usage of the shinyTree package.
38
38
39
39
```
40
40
library(shiny)
41
- runApp(system.file("examples/02-attributes", package= "shinyTree"))
41
+ runApp(system.file("examples/02-attributes", package = "shinyTree"))
42
42
```
43
43
44
44
Manage properties of your tree by adding attributes to your list when rendering.
@@ -47,7 +47,7 @@ Manage properties of your tree by adding attributes to your list when rendering.
47
47
48
48
```
49
49
library(shiny)
50
- runApp(system.file("examples/03-checkbox", package= "shinyTree"))
50
+ runApp(system.file("examples/03-checkbox", package = "shinyTree"))
51
51
```
52
52
53
53
Use checkboxes to allow users to more easily manage which nodes are selected.
@@ -56,7 +56,7 @@ Use checkboxes to allow users to more easily manage which nodes are selected.
56
56
57
57
```
58
58
library(shiny)
59
- runApp(system.file("examples/04-selected", package= "shinyTree"))
59
+ runApp(system.file("examples/04-selected", package = "shinyTree"))
60
60
```
61
61
62
62
An example demonstrating how to set an ` input ` to the value of the currently selected node in the tree.
@@ -65,7 +65,7 @@ An example demonstrating how to set an `input` to the value of the currently sel
65
65
66
66
```
67
67
library(shiny)
68
- runApp(system.file("examples/05-structure", package= "shinyTree"))
68
+ runApp(system.file("examples/05-structure", package = "shinyTree"))
69
69
```
70
70
71
71
Demonstrates the low-level usage of a shinyTree as an input in which all attributes describing the state of the tree can be read.
@@ -75,7 +75,7 @@ Demonstrates the low-level usage of a shinyTree as an input in which all attribu
75
75
76
76
```
77
77
library(shiny)
78
- runApp(system.file("examples/06-search", package= "shinyTree"))
78
+ runApp(system.file("examples/06-search", package = "shinyTree"))
79
79
```
80
80
81
81
An example showing the use of the search plugin to allow users to more easily navigate the nodes in your tree.
@@ -84,7 +84,7 @@ An example showing the use of the search plugin to allow users to more easily na
84
84
85
85
```
86
86
library(shiny)
87
- runApp(system.file("examples/07-drag-and-drop", package= "shinyTree"))
87
+ runApp(system.file("examples/07-drag-and-drop", package = "shinyTree"))
88
88
```
89
89
90
90
An example demonstrating the use of the drag-and-drop feature which allows the user to reorder the nodes in the tree.
@@ -93,7 +93,7 @@ An example demonstrating the use of the drag-and-drop feature which allows the u
93
93
94
94
```
95
95
library(shiny)
96
- runApp(system.file("examples/08-class", package= "shinyTree"))
96
+ runApp(system.file("examples/08-class", package = "shinyTree"))
97
97
```
98
98
99
99
An example demonstrating the use of the ability to style nodes using custom classes.
@@ -102,7 +102,7 @@ An example demonstrating the use of the ability to style nodes using custom clas
102
102
103
103
```
104
104
library(shiny)
105
- runApp(system.file("examples/09-themes", package= "shinyTree"))
105
+ runApp(system.file("examples/09-themes", package = "shinyTree"))
106
106
```
107
107
108
108
An example demonstrating the use of built-in tree themes.
@@ -111,7 +111,7 @@ An example demonstrating the use of built-in tree themes.
111
111
112
112
```
113
113
library(shiny)
114
- runApp(system.file("examples/10-node-ids", package= "shinyTree"))
114
+ runApp(system.file("examples/10-node-ids", package = "shinyTree"))
115
115
```
116
116
117
117
An example demonstrating the ability to label and return node identifiers and classes.
@@ -120,7 +120,7 @@ An example demonstrating the ability to label and return node identifiers and cl
120
120
121
121
```
122
122
library(shiny)
123
- runApp(system.file("examples/11-tree-update", package= "shinyTree"))
123
+ runApp(system.file("examples/11-tree-update", package = "shinyTree"))
124
124
```
125
125
126
126
An example demonstrating the ability to update a tree with a new tree model. This was broken in the original version as the tree was destroyed upon initialization.
@@ -129,7 +129,7 @@ An example demonstrating the ability to update a tree with a new tree model. Th
129
129
130
130
```
131
131
library(shiny)
132
- runApp(system.file("examples/12-types", package= "shinyTree"))
132
+ runApp(system.file("examples/12-types", package = "shinyTree"))
133
133
```
134
134
135
135
An example demonstrating node types with custom icons.
@@ -138,7 +138,7 @@ An example demonstrating node types with custom icons.
138
138
139
139
```
140
140
library(shiny)
141
- runApp(system.file("examples/13-icons", package= "shinyTree"))
141
+ runApp(system.file("examples/13-icons", package = "shinyTree"))
142
142
```
143
143
144
144
An example demonstrating various ways to use icons on nodes.
@@ -147,7 +147,7 @@ An example demonstrating various ways to use icons on nodes.
147
147
148
148
```
149
149
library(shiny)
150
- runApp(system.file("examples/14-files", package= "shinyTree"))
150
+ runApp(system.file("examples/14-files", package = "shinyTree"))
151
151
```
152
152
153
153
Demonstrates how to create a file browser tree.
@@ -156,7 +156,7 @@ Demonstrates how to create a file browser tree.
156
156
157
157
```
158
158
library(shiny)
159
- runApp(system.file("examples/15-data", package= "shinyTree"))
159
+ runApp(system.file("examples/15-data", package = "shinyTree"))
160
160
```
161
161
162
162
Demonstrates how to attach and retreive metadata from a node.
@@ -165,7 +165,7 @@ Demonstrates how to attach and retreive metadata from a node.
165
165
166
166
```
167
167
library(shiny)
168
- runApp(system.file("examples/16-async", package= "shinyTree"))
168
+ runApp(system.file("examples/16-async", package = "shinyTree"))
169
169
```
170
170
171
171
Demonstrates how to render a tree asynchronously.
@@ -174,11 +174,19 @@ Demonstrates how to render a tree asynchronously.
174
174
175
175
```
176
176
library(shiny)
177
- runApp(system.file("examples/17-contextmenu", package=" shinyTree"))
177
+ runApp(system.file("examples/17-contextmenu", package = shinyTree"))
178
178
```
179
179
180
180
Demonstrates how to enable the contextmenu.
181
181
182
+ #### 19-data.tree
183
+ ```
184
+ library(shiny)
185
+ runApp(syste,.file("examples/19-data.tree", package = "shinyTree"))
186
+ ```
187
+
188
+ Demonstrates how to pass a data.tree to shinyTree.
189
+
182
190
Known Bugs
183
191
----------
184
192
0 commit comments