Editing one cell in a NSTableView
Editing one cell in a NSTableView
- Subject: Editing one cell in a NSTableView
- From: Bruno Blondeau <email@hidden>
- Date: Tue, 27 Nov 2001 19:53:57 +0100
When I hit the return key while editing a cell in a NSTableView, the editing
field moves to the following row. This is not the behavior that is expected
most of the time by the user. The editing field should disappear, and the
selected row should remain the same.
Is there a simple way to obtain this other behavior (editing field
disappearing)?
- (void)controlTextDidEndEditing:(NSNotification *)aNotification
May be a good solution, but the notification object is unfortunately the
following row, so I have to manually select the row, which is not a very
clean way.
Bruno