NetTalk Central

Author Topic: Treeview  (Read 6957 times)

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Treeview
« 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

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: Treeview
« Reply #1 on: July 18, 2010, 10:03:16 AM »
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




Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Treeview
« Reply #2 on: July 18, 2010, 10:06:42 PM »
Hi Ron

Thanks - that was easy. I used JS Tree. Now I just need to style it.

/Niels

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: Treeview
« Reply #3 on: July 20, 2010, 01:37:01 PM »
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

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Treeview
« Reply #4 on: July 21, 2010, 01:13:31 AM »
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

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Treeview
« Reply #5 on: May 07, 2020, 07:26:46 AM »
Hi Niels,

Did this ever happen?

Peter

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: Treeview
« Reply #6 on: May 10, 2020, 10:09:07 PM »
Hi Niels,
Could you able to upload the example here?
thanks

Jason

Niels Larsen

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Email
Re: Treeview
« Reply #7 on: May 11, 2020, 05:12:53 AM »
@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.