How to end table cell editing by keyboard (return/enter)?
How to end table cell editing by keyboard (return/enter)?
- Subject: How to end table cell editing by keyboard (return/enter)?
- From: email@hidden
- Date: Sun, 03 Jul 2005 15:18:17 +0100
Hi,
I have the following problem:
I have a NSTableView setup with a NSTableColumn which consists of the default NSTextFieldCell. The table is populated using a NSArrayController (bindings). I allow editing of the entries in the column via double click and (in another case) sending editColumn:row:withEvent:select: to the table view.
What I want: Editing a cell and pressing return ends the editing, setting the selection to the edited entry. Best case: the app/controller/whatever gets notified about this event.
What I get by default: the NSTextFieldCell jumps to the next row and stays in editing mode. And so far I was not able to prevent this (not regarding mouse clicks, I want it by keyboard).
I get the feeling that this particular problem actually is no problem and I'm overlooking something obvious. Any help opening my eyes would be appriciated! :-)
Regards,
Joern Janoschek.
--
_______________________________________________
FreeMail und FreeSMS auf www.uni.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden