Organizational Chart Demo (5)

This example works by generating the JSON orgchart definition on-the-fly by using a PHP scripts that queries a database and buils the tree.

The structure is the same as demo #2, but you can see in this file's source code (line 68) that the orgchart structure is obtained from build-json.php, which is called by the library using AJAX.

How to replicate this demo in your own server:

Now you can use a MySQL table editor like PhpMyAdmin or CRUDDER for modifying the data and your web will be updated inmediately!


Rendering


End of rendering

lib_gg_orgchart v1.0.0beta1 - by Gorka G LLona and collaborators - distributed under the LGPL GNU license