Posted Friday, April 24, 2009 @ 01:15:29
I got two questions regarding QuickTable header:
1. By default the header is always center aligned. How to set the left / right alignment for header columns?
2. I use the Nimbus look and feel. By default Nimbus hides the table grid line. After I make the following calls, I can see the grid line between table cells. However, the grid line between header columns is still missing. How to show the header grid line in this case?
NimbusLookAndFeel.getDefaults().put("Table.showGrid", true);
NimbusLookAndFeel.getDefaults().put("Table.intercellSpacing", new Dimension (1,1));