Answer the question
In order to leave comments, you need to log in
How to fill the right side of the kartik tree manager by clicking on an element on the left side?
Hello.
Began to understand YII2. I found a convenient tree manager from kartik. The problem is that the admin part is on the right side. How to fill the right side with content by clicking on some element from the tree in the left side?
I'm sure there is some easy way, but I couldn't google it (maybe I googled it wrong)
Answer the question
In order to leave comments, you need to log in
In this widget, how can we define child elements (parent_id or child)?
everything is described here:
demos.krajee.com/tree-manager#tree-view-input
look for this in the docks:
'treeViewSettings'=> [
'nodeActions' => [
Module::NODE_MANAGE => Url::to(['/treemanager/node/manage']),
Module::NODE_SAVE => Url::to(['/treemanager/node/save']),
Module::NODE_REMOVE => Url::to(['/treemanager/node/remove']),
Module::NODE_MOVE => Url::to(['/treemanager/node/move']),
]
]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question