File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes How to show table with dynamic rows and first column is a group Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to show table with dynamic rows and first column is a group" Watch "How to show table with dynamic rows and first column is a group" New topic
Author

How to show table with dynamic rows and first column is a group

Tanu Gulati
Ranch Hand

Joined: Oct 06, 2008
Posts: 113

Hi,

I have a requirement came up for me where I have to show a table with first colum as a main one and multiple rows grouped to it.

For example first column is a list of plants and every plant has a set of products associated to it which will be shown corresponding to the plant but number of rows corresponding to plant is varying and needs to be changed at runtime.

Do you know any way how can I achieve in jsp, struts?

thanks,



thanks
Tanu Gulati
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

You would use the "rowspan" attribute in a <td> cell to make it span some number of rows. Was that the part of the problem that you were missing, or was it something else? Your question was not very specific.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show table with dynamic rows and first column is a group
 
Similar Threads
showing values in table on basis of column header
dynamic column names and it's values
MySQL table joining
How to create a nested table in side a cell in data table
Hiding group of rows depending on dropdown list