File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Dynamic table in View Page

 
Tarun Oohri
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Abhay Agarwal
Ranch Hand
Posts: 1375
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Balagopal Kannampallil
Ranch Hand
Posts: 136
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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 Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refer this old ranch post for a basic idea.
 
Tarun Oohri
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • 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 !!!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic