• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

colspan feature for the HTML Table

 
SanjayR Jain
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all I am using HTMLTable of import com.google.gwt.user.client.ui.HTMLTable I instantiated it like below:



Number of rows and columns are decided by the user input. Now I want to used colspan for the specific rows of the table.

One way to this is apply css to the that specific row.But problem with this is that Number of column to span are decided by the user input, i.e It may vary every time. So by using css it is something like making it static.

So I want to know the way through which I can do colspan on the rows of the table. and Number of column to span is different every time.

Thanks in advance
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out FlexTable. Then you can use FlexTable#getFlexCellFormatter().setColumnSpan()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic