PHP Classes

AJAX Tree view class: Display a tree view from MySQL data that uses AJAX

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 32%Total: 3,798 All time: 852 This week: 68Up
Version License PHP version Categories
treeview-component 1.0GNU General Publi...5.0HTML, PHP 5, AJAX
Description 

Author

This class can be used to display a tree view that uses AJAX.

It can query a MySQL database and generate HTML with Javascript that renders nodes of a collapsible tree.

When a node is clicked, it sends an AJAX request to the server to retrieve the contents of the node.

Picture of Thomas Jakober
Name: Thomas Jakober <contact>
Classes: 3 packages by
Country: Switzerland Switzerland
Age: 74
All time rank: 5829 in Switzerland Switzerland
Week rank: 180 Up4 in Switzerland Switzerland Up

Screenshots (1)  
  • screenshot.jpg
  Files folder image Files (17)  
File Role Description
Plain text file treeview.class.php Class The Class File
Accessible without login Plain text file tree.js Data AJAX Javascript functions
Accessible without login Plain text file treeview.css Data Stylesheet
Accessible without login Plain text file testtreeview.php Example testtreeview.php
Accessible without login Image file activity.gif Icon icon to show activity during load of the node
Accessible without login Image file blank.gif Icon Icon for vertical line
Accessible without login Image file leaveLink.gif Icon Icon icon for the lowest level
Accessible without login Image file lLastNode.gif Icon Icon for node connection lower right edge
Accessible without login Image file lNode.gif Icon Icon for node connection middle
Accessible without login Image file mLastNode.gif Icon icon for node connection last open subnode
Accessible without login Image file mNode.gif Icon icon for node connection containing open subnode
Accessible without login Image file nodeClosed.gif Icon icon icon for a closed node
Accessible without login Image file nodeOpen.gif Icon icon icon for an open node
Accessible without login Image file pLastNode.gif Icon icon for node connection last closed subnode
Accessible without login Image file pNode.gif Icon icon for node connection containing closed subnode
Accessible without login Image file vLine.gif Icon Icon as a space filler

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,798
This week:0
All time:852
This week:68Up
User Ratings User Comments (5)
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:25%StarStar
Tests:-
Videos:-
Overall:32%StarStar
Rank:4252
 
the example file is too bad as it based its work on a remote ...
7 years ago (zinsou A.A.E.Moïse)
42%StarStarStar
can i get treeview-component database.
11 years ago (rajendra)
35%StarStar
bad!
11 years ago (Pavel Janata)
0%Star
Not Working!!!
13 years ago (ivan)
0%Star
about the db setting how to configure your code
14 years ago (rami)
35%StarStar