Page 1 of 1

Hide column at jxtable creation

Posted: Mon Oct 01, 2012 11:53 am
by sebastienlavandier
Hello,

I have create a customized plugin which contains a JXTable. I want to know how I can hide some columns by defaut (when the view is created) like it's possible manually.

Thanks in advance for your answer.
Sébastien.

Re: Hide column at jxtable creation

Posted: Mon Oct 01, 2012 12:15 pm
by Radu
Hi Sébastien,

You should probably address this question to the manufacturers of JXTable:

http://swingx.java.net/

or you could google for an answer, maybe other developers had the same problem.

Regards,
Radu

Re: Hide column at jxtable creation

Posted: Mon Oct 01, 2012 1:26 pm
by sebastienlavandier
Thanks, but I want to know how hide some columns by using "ViewInfo" class. Because I create a table but after it's Oxygen that integrate this table in a component "ViewComponentCustomizer", like Jide component.
JXtable doesn't offer the posibilities to hide columns.
But the Oxygen component Yes.
Thanks in advance.

Re: Hide column at jxtable creation

Posted: Mon Oct 01, 2012 3:14 pm
by Radu
Hi Sébastien,

Indeed Oxygen uses the Swing-based JIDE framework in order to have floatable views, toolbars.
Your table Swing component is taken as it was created, added and displayed in a JPanel which is inside a dockable frame.

Indeed in Oxygen we have tables which allow showing and hiding certain columns. These tables are components implemented by us internally and are based on the swing JTable.

Regards,
Radu

Re: Hide column at jxtable creation

Posted: Wed Oct 10, 2012 3:46 pm
by sebastienlavandier
Thanks you Radu.