javaswingswingxjxtable

Hide a column in JXTable?


I'm using a JXTable and I want to programmatically hide a column.

Is there any convenient methode to do this (without setting miniman/maximal/preferd width) ?

Thanks.


Solution

  • Get the TableColumnExt for the relevant column from the JXTable, and call setVisible() on that.