aspose file tools*
The moose likes GWT and the fly likes colspan feature for the HTML Table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "colspan feature for the HTML Table" Watch "colspan feature for the HTML Table" New topic
Author

colspan feature for the HTML Table

SanjayR Jain
Ranch Hand

Joined: Mar 05, 2009
Posts: 43
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

Joined: Jul 26, 2007
Posts: 9990
    
    7

Check out FlexTable. Then you can use FlexTable#getFlexCellFormatter().setColumnSpan()


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: colspan feature for the HTML Table
 
Similar Threads
For loop
h:panelGrid + ui:repeat tag issue
how to make column like colspan ?
dynamically loop through form parameters in servlet
help with validation/ 2 functions on submit.