NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on July 16, 2010, 04:30:45 AM
-
Hi
I need a treeview in the left side of a page. Used to filter a browse on the right. (no frames)
Has anyone experience with adding a treeview??
Regards Niels
-
Neils,
Jquery has a Plug in for Trees. It is on the Jquery plugins site which you can reach from the main Jquery page.
You would have to package your data to use in the Jquery Tree control.
If you want just a MENU in a tree, then the newer examples of Menus have some "accordion menus" which expand and contract and simulate a tree. That may be enough for what you need??? ( maybe example 53 on Net Talk Server???)
Ron Jolda
-
Hi Ron
Thanks - that was easy. I used JS Tree. Now I just need to style it.
/Niels
-
Hi Niels,
Since you are the first (?) one to use the JS Tree, can you tell us how you got it to play nicely with Net Talk?
What JS code do you use to call it?
How do you get your data into JS Tree?
How do you manage the changes that are made in JS Tree and put them back into your data tables?
Thanks,
Ron
-
Hi Ron
Of course.
I'm not sure that I do it in the most optimal way, but it works.
I have a deadline in the near future, but then I'll upload an example.
/Niels
-
Hi Niels,
Did this ever happen?
Peter
-
Hi Niels,
Could you able to upload the example here?
thanks
Jason
-
@Peter, @Jason
Ha ha - that's almost 10 years ago.
I don't remember what I used it for, but it should be relatively easy to find a script that can be integrated. But of course, it depends a little on what it's used for.
Try looking at https://www.jstree.com/. Maybe that's a solution.