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: 2902
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: Fri Apr 26 01:09:56 GMT 2024

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

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

Back to the top