Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Displaying data

 
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I need to display the data coming from my backend in the form of a tree with parent child relationships in the front end.
My data is from database. Say these are records from table with the parent child relationship.
Now I have to show this relationship when the data gets displayed in the page.
How do I do that ?
Thanks
Maya
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
PHP could handle that, it has graphics functions. i dont know how you would do it using JS
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If it is a database, it would have to be server side.
Javascript could do it, if you were able to dynamically write the data into the html with a server side language.
Now that I have made no sense I will submit it
 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The app below does parent child.
Click on event M100...M10000
Then a picklist of entrants for the event is loaded to the left.
I keep the data seperate from the dynamic display.The data is usually just a set of related javascript arrays.
Note: this was written a long time ago
and the host brinkster has become pretty unreliable;(
http://www21.brinkster.com/sturman/world/plmain.asp?loginId=guest
[ September 21, 2002: Message edited by: Charlie Sturman ]
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Charlie,
it displays the data in seperate lines.
But I want the data to be displayed in layers say with a + sign...
Thanks
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic