Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » GridTableViewer - CellModifier problem with collapsed GridColumnGroup?
GridTableViewer - CellModifier problem with collapsed GridColumnGroup? [message #586750] Thu, 29 November 2007 10:46
Philippe Ravaine is currently offline Philippe RavaineFriend
Messages: 4
Registered: July 2009
Junior Member
Hi all,

working with Nebula latest release, I have a problem with editable cells
on a GridTableViewer, with collapsed GridColumnGroup.

Let's assume I have 3 GridColumn (col1,col2,col3).
The one in the middle has : col2.setSummary(false);

The table shows the right values, GridColumngroup Expanded and Collapsed ;
meaning that the LabelProvider works well GridColumnGroup.

When GridColumnGroup expanded, a click on any cell of any column allows to
edit the right value.
When Collapsed, a click on col3 give the opportunity to edit hidden col2.
The methods of the CellModifier are given wrong "property" argument by the
GridTableViewer.

In fact, this problem happens when clicking at a position a hidden column
was located when the GridColumnGroup was expanded.

To sum up :

--------------------
| group << |
|----|----|--------|
|col1|col2| col3 |
|----|----|--------|
| | | |

---------------
| group >> |
|----|--------|
|col1| col3 |
|----|--------|
| |XXXXXYYY|

When clicking on XXXXX, you edit col2
When clicking on YYY, you edit col3


The problem comes with the CellModifier. Has anyone else the same problem ?
Any idea to solve this ?


Cheers,
Philippe
Previous Topic:SWT Ribbon - Alpha 2 Out
Next Topic:GridViewer and SWT.VIRTUAL
Goto Forum:
  


Current Time: Sun Dec 04 09:55:24 GMT 2022

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

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

Back to the top