Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Edit cell on second click
Edit cell on second click [message #1265525] Thu, 06 March 2014 08:04 Go to next message
Leo Pap is currently offline Leo PapFriend
Messages: 25
Registered: October 2013
Junior Member
Howdy,

I have again a question. At the moment the behavior of an editable cell is as follows:
When clicking on the cell, the "edit mode" is enabled and one can directly type something in the cell.
Is it possible (and if yes how?) to enable the "edit mode" on the second click. What I mean:
first click on a cell => cell is selected.
Second click on a cell => cell is in "edit mode" and can be edited.
Re: Edit cell on second click [message #1265550 is a reply to message #1265525] Thu, 06 March 2014 08:41 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2526
Registered: July 2012
Senior Member
Check the DefaultEditBindings. There the edit action is registered for the single click. Create a custom configuration that registers the action on double click.
Re: Edit cell on second click [message #1265569 is a reply to message #1265550] Thu, 06 March 2014 09:08 Go to previous message
Leo Pap is currently offline Leo PapFriend
Messages: 25
Registered: October 2013
Junior Member
Thank you! I will try it Smile
Previous Topic:Question for best practice concerning a custom selection strategy
Next Topic:How to install and use NatTable?
Goto Forum:
  


Current Time: Wed Nov 22 07:43:25 GMT 2017

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

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