Solved

PHP Treeview using Ajax and Oracle db

Posted on 2009-07-02
5
861 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:BrianMM
ID: 24763741
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
ID: 24763769
Yes... there is a plugin, but it's good. http://plugins.jquery.com/project/treeview
0
 
LVL 1

Author Comment

by:niftyhawk
ID: 24764293
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
ID: 24776555
0
 
LVL 1

Author Closing Comment

by:niftyhawk
ID: 31599186
no proper solution
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

733 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