How to hide a particlar column in DefaultTableModel from displaying it in table?

brainless picture brainless · Aug 30, 2012 · Viewed 10.9k times · Source

I am using Java Swingx framework. I have 4 columns in my DefaultTableModel object. I wish to display only 3 of the columns. But, I need all four for computing.

Actual data model

S.No. | ID | GDC ID | Decsription

What I want to display in table

S.No.| GDC ID | Decsription

Is it possible to hide or omit only one column from rendering? Please guide me.

Answer

mKorbel picture mKorbel · Aug 30, 2012