Gives CellTable an option to disable colgroup and/or don't attach the message
panel. Disabling both leads to 50% faster layout time in IE (about 25% each). The side effects are

1. Disabling colgroup will break fixed layout table with explicitly set column width, and when styles are added to colgroup element. Therefore this is turned off by default. Various checks are added to make sure setColumnWidth and setTableLayoutFixed(true) are not called when colgroup is disabled.
2. If the message panel is not attached to the table, loading indicator and empty table widget are not displayed. Therefore this optimization is turned off by default as well. A new method is added to get the message panel so that callers can attach it to outside the table element.

Note, disabling colgroup also results in a very small gain in Firefox, Chrome and Safari (around 5%). In addition, having the message panel attached to the table itself actually results in better layout performance in Chrome/Safari. It's recommended to leave inside the table for non-IE browsers.

Review at http://gwt-code-reviews.appspot.com/1557804

Review by: jlabanca@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10676 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed