Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » collapse column groups
collapse column groups [message #902649] Fri, 17 August 2012 05:39 Go to next message
Martin Jacob is currently offline Martin JacobFriend
Messages: 116
Registered: July 2009
Senior Member
Hi,

is it possible to collapse (invisible) column groups by the software? In my application I have a
master - detail pattern. A tree is the master and the NatTable the detail. According to the selected
element in the tree column groups should be visible or invisible.

Martin
Re: collapse column groups [message #902727 is a reply to message #902649] Mon, 20 August 2012 07:36 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1434
Registered: July 2012
Senior Member
Hi,

Have a look at the NatTable commands. There is a ColumnGroupCollapseCommand. You can execute commands by calling doCommand() on your NatTable instance.

I'm currently on vacation so sorry for the short answer.

Greez,
Dirk
Re: collapse column groups [message #904018 is a reply to message #902727] Tue, 21 August 2012 14:08 Go to previous message
Martin Jacob is currently offline Martin JacobFriend
Messages: 116
Registered: July 2009
Senior Member
Hi Dirk,

thanks for the quick answer even u are on vacation.
I am using the MultiColumnShowCommand and MultiColumnHideCommand command and all works fine.

all the best Martin

Dirk Fauth wrote, On 20.08.2012 09:36:
> Hi,
> Have a look at the NatTable commands. There is a ColumnGroupCollapseCommand. You can execute
> commands by calling doCommand() on your NatTable instance.
> I'm currently on vacation so sorry for the short answer.
> Greez, Dirk
Previous Topic:addColumnsIndexesToGroup
Next Topic:Popup menu for Editting Text Cell
Goto Forum:
  


Current Time: Sun Dec 21 06:18:55 GMT 2014

Powered by FUDForum. Page generated in 0.18090 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software