Solved

PHP Treeview using Ajax and Oracle db

Posted on 2009-07-02
5
829 Views
Last Modified: 2012-05-07
I have a database table that has columns like positionid, userid, parentid. I want to build a tree using Treeview control and ajax. With the initial page load, only the "top level" of items is loaded. All other data is loaded dynamically (via AJAX) when the node is "expanded".. Something very similar to the "Dynamic Tree View" in the following link.

http://phocoa.com/webapp/examples/ajax/tree/

I don't want to use YUI but the functionality should be like the above.. Any ideas?

Thanks.
0
Comment
Question by:niftyhawk
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:BrianMM
Comment Utility
if your using ajax else where and it happens to be jQuery i think it has a treeview.
0
 
LVL 11

Expert Comment

by:BrianMM
Comment Utility
Yes... there is a plugin, but it's good. http://plugins.jquery.com/project/treeview
0
 
LVL 1

Author Comment

by:niftyhawk
Comment Utility
All,
I want to use the "treeview" plugin in async mode.. The example is: http://jquery.bassistance.de/treeview/demo/async.html

However, I am unable to figure out how to avoid nested tree building..I wanted to expand nodes using ajax when a node is clicked.. I am looking for some kind of a code structure to do this..

Thanks
0
 
LVL 2

Accepted Solution

by:
ganesh_gns earned 500 total points
Comment Utility
0
 
LVL 1

Author Closing Comment

by:niftyhawk
Comment Utility
no proper solution
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now