|
Dummy Last Column |
Top Previous Next |
There is the option to add a dummy column to the table header with no data underneath, for decorative purposes.
You can control the visibility of the dummy column with:
public void setShowDummyColumn(boolean showDummyColumn);
So,
AdvancedJTable table = new AdvancedJTable();
table.setShowDummyColumn(true);
This option is available ONLY if the table is enclosed by an AdvancedJScrollPane:
AdvancedJTable table = new AdvancedJTable();
table.setShowDummyColumn(true);
AdvancedJScrollPane scroller = new AdvancedJScrollPane();
scroller.setViewportView(table);
Finally, you can determine if the dummy column is present by calling:
public boolean getShowDummyColumn();
OR
public boolean isDummyColumn(int column);