A
A
AtomU2352018-03-26 10:22:44
Yii
AtomU235, 2018-03-26 10:22:44

Yii 2 - GridView How can I make a multi-level directory, for example, as in 1C 8?

Hello.
I want to implement a multi-level directory of the type of directory from 1C 8. That is, with directories and elements. You can go through directories. Visually, everything is in one table.
At the database level, this is the adjacency list (parent id). Here's how to bring it all out correctly and make the mechanics look similar - I just can't figure it out.
Prompt an example of implementation or direct in what party to think.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-03-26
@evgen9586

https://www.yiiframework.com/extension/yii2-treegrid What des1roer.blogspot.com.by/2016/01/yii-2_21.html
looks like

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question