A
A
Al3x4kov2016-10-25 23:53:15
Yii
Al3x4kov, 2016-10-25 23:53:15

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

2 answer(s)
H
Hovhannes Abovyan, 2017-12-10
@HovhannesAbovyan

In this widget, how can we define child elements (parent_id or child)?

M
Maxim Timofeev, 2016-10-26
@webinar

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 question

Ask a Question

731 491 924 answers to any question