I would like to put a tree list into a table environment. Smth. like:
+--------------------------+---------------------------+-------------+
| Heading 1 | Heading 2 | Heading 3 |
+--------------------------+---------------------------+-------------+
| / main-item | main item data | some info |
| +-- sub item 1 | sub item 1 data | some info 1 |
| | +-- sub sub item x | sub sub item 1.x data | some info x |
| | | | |
| +-- sub item 2 | sub item 2 data | some info 2 |
| +-- sub sub item y | sub sub item 2.y data | some info y |
+--------------------------+---------------------------+-------------+
I know about dirtree package, but it it possible to arrange dirtree data in that way?
P.S.: I received multiple answers to this question, which solve the problem. I personally found the accepted answer more appropriate in my case. But here are also answers how to achieve the requested functionality with dirtree package. Therefore I encourage everyone to read all answers to find the best possible solution.