Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Editing and RowSpans(Problem when using spanned rows and an editor)
Editing and RowSpans [message #1069308] Mon, 15 July 2013 12:32 Go to next message
Fabian Matthiessen is currently offline Fabian Matthiessen
Messages: 1
Registered: April 2013
Junior Member
In our application we have spanned rows and have custom and texteditors defined for the cells. Target is to have mostly Excel-like feeling (You just type and the value is inserted). We want to use the inline editing and mostly it works like a charm. With one exception:
- We have an Eventmatcher for (nearly) all Keys, that activates KeyEditAction()
- If that Action is called on a single row and column, the inline-edting is triggered.
- But we use colspans and so our selectionlayer has two selected cells eg. for one real cell in the UI. And that is why in EditSelectionCommandHandler the second option is chosen (to open a dialog instead of firing the inlineediting event).

Is there any possibility to have inline-editing here also? With mouse-Actions everything works fine, as the adress the cell and not the selection.

Best regards

Fabian
Re: Editing and RowSpans [message #1069362 is a reply to message #1069308] Mon, 15 July 2013 14:45 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
The issue seems to be related to cell translations. Asking the table will return the cell translated regarding spanning, while the editing on selection takes the selection into account, without looking at the cell translation.

Doesn't seem to be a trivial task to solve. Please open a ticket for this.
Re: Editing and RowSpans [message #1082995 is a reply to message #1069362] Fri, 09 August 2013 06:07 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
Created a ticket for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414754
Previous Topic:ColumnGroupHeaderLayer expand/collapse and Selection, ColumnResize, etc.
Next Topic:Multiple Selection is not enforced after setting flag in the selection model.
Goto Forum:
  


Current Time: Sat Apr 19 05:54:10 EDT 2014

Powered by FUDForum. Page generated in 0.01662 seconds