Hide column at jxtable creation

<oXygen/> general issues.
sebastienlavandier
Posts: 124
Joined: Tue May 29, 2012 5:42 pm

Hide column at jxtable creation

Post by sebastienlavandier » Mon Oct 01, 2012 11:53 am

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.

Radu
Posts: 6687
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hide column at jxtable creation

Post by Radu » Mon Oct 01, 2012 12:15 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

sebastienlavandier
Posts: 124
Joined: Tue May 29, 2012 5:42 pm

Re: Hide column at jxtable creation

Post by sebastienlavandier » Mon Oct 01, 2012 1:26 pm

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.

Radu
Posts: 6687
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hide column at jxtable creation

Post by Radu » Mon Oct 01, 2012 3:14 pm

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

sebastienlavandier
Posts: 124
Joined: Tue May 29, 2012 5:42 pm

Re: Hide column at jxtable creation

Post by sebastienlavandier » Wed Oct 10, 2012 3:46 pm

Thanks you Radu.

Post Reply