pkdevboxy / google-web-toolkit-incubator

Automatically exported from code.google.com/p/google-web-toolkit-incubator
0 stars 0 forks source link

FixedWidthFlexTable ghost row bug #310

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
version of gwt and gwt-incubator: july-14-2009 
WindowsXP, IE6, FF3.5
This error present in hosted mode and web mode

1. create FixedFidthFlexTable
2. Add rows ans cols. Format (colSpan, rowSpan, setWidth).
3. Clear table. (delete rows or clearAll ...)
4. Add other rows ans cols count. Format (colspan, rowspan).
Now column count in ghostrow (column width formater) equal column count in
step 1,2 PLUS column added in step 4. 

prepareCell adding extra cells in ghost row

Original issue reported on code.google.com by sez...@gmail.com on 24 Sep 2009 at 6:30

GoogleCodeExporter commented 8 years ago
After
    int rowCount = getRowCount();
    for(int i = 0; i < rowCount ; i++) removeRow(i);

getColumnCount() == maxRawColumnCount != 0, but must == 0 for empty table!

Original comment by sez...@gmail.com on 24 Sep 2009 at 7:22