|
Autoresize Table Columns |
Top Previous Next |
The column of a table is automatically resized to the greatest preferred width of all cells under that column, when the column is double-clicked on its border.
In addition to the column being resized upon double-clicking, you can also invoke this behaviour programmatically by calling TableAssistant's method:
public void resizeColumnToContents(int column);