// Add a full row to get ideal widths
TableRowElement tr = Document.get().createTRElement();
TableCellElement td = Document.get().createTDElement();
td.setInnerHTML("<div style=\"height:1px;width:1px;\"></div>");
for (int i = 0; i < columnCount + offset; i++) {
tr.appendChild(td.cloneNode(true));
}
getTableBody(table).appendChild(tr);
return new IdealColumnWidthInfo(table, tr, columnCount, offset);
}