Changes for page Creating a Tree View
Last modified by Ecaterina Moraru (Valica) on 2017/09/06
From version 2.2
edited by Marius Dumitru Florea
on 2015/07/28
on 2015/07/28
Change comment:
There is no comment for this version
To version 2.3
edited by Marius Dumitru Florea
on 2016/07/25
on 2016/07/25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -280,7 +280,7 @@ 280 280 281 281 As you can see we're using [[Solr>>extensions:Extension.Solr Search Application]] to retrieve the suggestions. 282 282 283 -= Dynamic Team Hierarchy Tree v 1(context menu) =283 += Dynamic Team Hierarchy Tree v4 (context menu) = 284 284 285 285 The tree looks good but we cannot perform any action on the tree nodes. Let's start by adding a context menu that will expose some of the actions. 286 286 ... ... @@ -300,7 +300,7 @@ 300 300 1. We're handling the ##?data=contextMenu## request. As you can see the context menu is described using JSON. 301 301 1. We added more data to the node JSON. This is needed because the tree supports actions only on the nodes that have an associated entity. Note that the additional node data can be used to restrict some actions based on the access rights of the current user. 302 302 303 -= Dynamic Team Hierarchy Tree v 1(drag & drop) =303 += Dynamic Team Hierarchy Tree v5 (drag & drop) = 304 304 305 305 The final step is to implement the actions. We'll show how to implement move using drag & drop. 306 306