Solved

PHP Treeview using Ajax and Oracle db

Posted on 2009-07-02
5
875 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

705 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