GWT HTMLTable colaspan feature
Posted
by
Sanjay
on Stack Overflow
See other posts from Stack Overflow
or by Sanjay
Published on 2010-11-12T13:29:34Z
Indexed on
2010/12/26
12:53 UTC
Read the original article
Hit count: 175
Hello all I am using HTMLTable of import com.google.gwt.user.client.ui.HTMLTable I instantiated it like below:
HTMLTable table = new Grid(rows, col);
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
© Stack Overflow or respective owner