Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Editor registered for a Spanned cell should invoke original column editor(Editor registered for a Spanned cell should invoke original column editor)
Editor registered for a Spanned cell should invoke original column editor [message #1741442] Thu, 25 August 2016 08:14 Go to next message
Ramakrishnan PK is currently offline Ramakrishnan PKFriend
Messages: 8
Registered: April 2016
Junior Member
I have a column "A", and registered a text editor to it's label.
And then spanned the "A" column cell till the end of the table row.
DataCell(A_COLUMN_INDEX, rowPosition, getColumnCount(), 1);


When I click the spanned cell the editors registered for column B/C/D/E is invoked based on the area where I clicked.

I expect the Spanned cell should invoke the editor registerd for the original column.
A_COLUMN_INDEX


Is that right?

Moreover, if the data is edit finished, then the
setDataValue
occurs for all the columns. Can we avoid it.

How to override this behavior?
Re: Editor registered for a Spanned cell should invoke original column editor [message #1741446 is a reply to message #1741442] Thu, 25 August 2016 08:38 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
I'm not sure if you are able to override that behavior. This is how the spanning works in NatTable or at least how it is implemented.
Previous Topic:Conditional CellEditor activation based on EditAction
Next Topic:Cell editor based on the canonical "ROW" data
Goto Forum:
  


Current Time: Sat Sep 22 20:24:38 GMT 2018

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

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

Back to the top