Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » ColumnGroupHeaderLayer expand/collapse and Selection, ColumnResize, etc.
ColumnGroupHeaderLayer expand/collapse and Selection, ColumnResize, etc. [message #1082470] Thu, 08 August 2013 16:00 Go to next message
Joachim Fuchs is currently offline Joachim FuchsFriend
Messages: 34
Registered: February 2013

is there a recomended way to deal with the following behavior?

- Columns A, B, C are in group G1, A and B are set static
- Columns D, E ... are part of another group
- G1 is expanded, a cell in C is selected
- now G1 becomes collapsed and the selected cell would become invisible (expectation)
- but the selected cell is now in column D.

Do you have any hints on this issue? Thanks in advance.

Re: ColumnGroupHeaderLayer expand/collapse and Selection, ColumnResize, etc. [message #1082874 is a reply to message #1082470] Fri, 09 August 2013 06:23 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2815
Registered: July 2012
Senior Member

the column grouping is something that needs to be completely refactored. So there are not much hints I can give you.

The issue itself seems to be related to the following. Collapsing a group means to hide the not visible columns when collapsing. The SelectionLayer seems to not evaluate that situation which means it doesn't get informed about the hiding and so it simply selects the cell at the position he knows (which is another one now).

As I said, we would like to do a complete refactoring of the column grouping stuff. But for this we need time. And as long as nobody is willing to support us in terms of development or at least sponsoring, I'm not sure when we are able to do this.

Previous Topic:How to combine FreezeLayer and ColumnGroupHeaderLayer
Next Topic:activateCell() method doesn't get called
Goto Forum:

Current Time: Thu Aug 05 22:25:55 GMT 2021

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

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

Back to the top