Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Deselecting the cell after selection does not edit the cell
Deselecting the cell after selection does not edit the cell [message #1769988] Mon, 07 August 2017 09:58 Go to next message
Gaurav Tripathi is currently offline Gaurav TripathiFriend
Messages: 41
Registered: September 2015
Member
Hi,
I have selected some cell from the same column in NatTable. Now if I deselect any cell from all selected cell and select back again and deselect it again by pressing ctrl mouse; I am not able to edit.
I debugged the code and found out that "activateLastSelectedCellEditor(SelectionLayer selectionLayer, IConfigRegistry configRegistry, boolean byTraversal) " method returns false.
Which means selection anchor returns -1,-1 as column-position and row position.

How can this be resolved?

Thanks.
Re: Deselecting the cell after selection does not edit the cell [message #1771025 is a reply to message #1769988] Mon, 21 August 2017 08:58 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
Open a bug and provide a fix via Gerrit

I think the issue is the EditUtils#getLastSelectedCell(SelectionLayer) returns the selection anchor and not the last selected cell position.

[Updated on: Mon, 21 August 2017 09:11]

Report message to a moderator

Re: Deselecting the cell after selection does not edit the cell [message #1771519 is a reply to message #1771025] Sat, 26 August 2017 11:30 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2614
Registered: July 2012
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521434
Previous Topic:Combo box Editor is not hiding/closing sometimes
Next Topic:How to make row header cells editable?
Goto Forum:
  


Current Time: Tue Sep 25 00:51:17 GMT 2018

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

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

Back to the top