GridTableViewer - CellModifier problem with collapsed GridColumnGroup? [message #586750] |
Thu, 29 November 2007 10:46 |
Philippe Ravaine 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
|
|
|
Powered by
FUDForum. Page generated in 0.02195 seconds