This topic is locked

hierarchical list

3/8/2011 2:19:13 PM
PHPRunner General questions
G
globiws author

The default list pages in PHPR are straight lists - ie they dump the data out of the database as it is stored, or as it is being ordered by.
I have many tables which are hierarchical in themselves.

Eg: table projects has ID pkProjects, and an option field fkProjectsParent (if it is a sub-project)

Eg: table tasks has ID pkTasks, and an option field fkTasksParent (if it is a sub-task)
I would like the list page to show this hierarchy.
Instead of:

Task 1

Task 2

Task 3

Task 4

etc
I would like to see:

Task 1

+- Task 2

Task 3

+- Task 4

| +- Task 5

+- Task 6

etc
Any ideas on doing this, or do I have to write a custom list page?
Thanks,

-Andreas

Sergey Kornilov admin 3/8/2011

Master-Details list with details in inline mode comes pretty close to the tree. If this doesn't work for you the only choice is to build your custom list page.

T
TKindermann 3/10/2011



Master-Details list with details in inline mode comes pretty close to the tree. If this doesn't work for you the only choice is to build your custom list page.


Is there a sample somewhere?
Thanks
Thomas

Sergey Kornilov admin 3/11/2011