• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to create Dynamic table in View Page

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone
I am facing a problem. What i have done till now is i make a table in html explicitly (by assigning fixed rows and columns) . Now what i want is to show a table of whose number of rows and columns are generated dynamically according to the table in the database.
Is this type of functionality possible ? If yes then what could be its solution.

Thanks in Advance..
Regards
 
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Multiple ways to achieve this ... depending upon front end page whether it is HTML or JSP.
Try exploring JSP expressions ... and JQuery to generate table dynamically as per data you send it to Front end page.
 
Ranch Hand
Posts: 136
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can achieve this in many ways depending on the approach you choose.
My personal favorite is JQuery. Have you got a chance to explore this?
 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks Abhay & Balagopal for showing your concern. No i have not yet tried my hands on JQuery but i have heard a lot about it. It is basically used in designing part , right ? All i know is java, javascript & Ajax..How should i approach it. please guide. Thanks
 
Balagopal Kannampallil
Ranch Hand
Posts: 136
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please refer this old ranch post for a basic idea.
 
Tarun Oohri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Balagopal Kannampallil wrote:Please refer this old ranch post for a basic idea.


Thanks Balagopal , That was a great help...Cheers !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic