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 »

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: 9056
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hide column at jxtable creation

Post 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
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 »

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: 9056
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hide column at jxtable creation

Post 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
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 »

Thanks you Radu.
Post Reply