Have you tried setHeaderValue("..."); on your new TableColumn?
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
yeah, the version in line 2 fails because setHeaderValue returns null. Wouldn't it be useful if it returned "this"?
As for your second Q, no, i've no immediate ideas. Mind you, I have no idea what columns you are adding or why ...
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073