NSTableView handling edititng cells correctly

Posted by Martins on Stack Overflow See other posts from Stack Overflow or by Martins
Published on 2010-01-23T14:13:49Z Indexed on 2010/06/06 21:12 UTC
Read the original article Hit count: 344

Filed under:
|
|
|
|

Hi All, I have an NSTableView working correctly except when I'm editing one of the table items. If the user is still in edit mode, and it presses the Sheet OK button, the tableiew doesn't update.

How do I force the tableview to commit the changes when the user press the ok button (closesheet).

Also, how do I handle the ESC Key to cancel the editing?

Sorry if the questions looks absurd, but I've been only on developing on Mac for a month.

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about mac