?
Solved

PHP Treeview using Ajax and Oracle db

Posted on 2009-07-02
5
Medium Priority
?
891 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 1000 total points
ID: 24776555
0
 
LVL 1

Author Closing Comment

by:niftyhawk
ID: 31599186
no proper solution
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

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