Hi, I've recently experienced similar bugs in FlexTable and had to work around it by next my tables and never using colSpan. I'm curious if GWT 2.4 will fix this but I haven't had the chance to look into it.
Ivan... On Tue, Aug 16, 2011 at 1:37 PM, md <[email protected]> wrote: > Hi! > > I'm developing an application using GWT 2.3.3 > In this application I have a FlexTable which includes (as a widget) > another FlexTable in many cells (some cells are empty, as for the > reason that i want to set a colSpan so that the flexTable in Cell > (1,0) combines (2,0). > > So the Problem: > If setting the colSpan (0,0,2) it should combine cell (0,0) and cell > (1,0). Unfortunately cell (1,0) moves to another empty cell on the > next column - so the whole structrue of the FlexTable is corrupt. > > __________ > |0,0 | 0,1 | 0,2| > |1,0 | 1,1 | 1,2| > |2,0 | 2,1 | 2,2| > |3,0 | 3,1 | 3,2| > |4,0 | 4,1 | 4,2| > > > with rowSpan(0,0,2) > > ____________ > |0,0 | 0,1 | 0,2| > |0,0 | 1,0 | 1,1 | 1,2| > |2,0 | 2,1 | 2,2 | > |3,0 | 3,1 | 3,2 | > |4,0 | 4,1 | 4,2 | > > > > > > Is there any solution for this problem? > I've tried (as mentioned here on the mailing list) to give each row a > "" (empty String) but unfortunately this didn't work. > > > > > //here is how i set the widgets for the flexTable: > > flexTable_6.setWidget(1,0,newTable(komponenten.get(1)); > > //This is the rowSpan > flexTable_6.getFlexCellFormatter().setRowSpan(1,0,2); > > > As a matter of fact I am setting the widgets dynamic out of an array > (each widget/flextable representates an object) and the table contains > about 140 widgets - if a widget "needs" a colSpan of e.g. 3, the > following 2 cells are empty. > > > I'm not sure if i explained the problem intelligible, caused by the > reason that this is my first post ever on such issues, if there is a > need for more informations please ask. > > I hope somebody can help?-Thanks alot! > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
