Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tanu Gulati
Ranch Hand
Posts: 113
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,


 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic