NSTableView edit text-field help please?
NSTableView edit text-field help please?
- Subject: NSTableView edit text-field help please?
- From: Gore <email@hidden>
- Date: Wed, 23 Jan 2002 20:34:07 +0200
I have a NSTableView that is using text cells...and I want to be able to
edit and end the edit of a cell programaticaly, I know how to start the
edit, it's like this:
[mainList editColumn: [mainList columnWithIdentifier: @"name"] row:
[mainList selectedRow] withEvent: nil select: YES];
but I don't know how to end it, please please please help me, I've been
looking around in the docs and everywhere and tryed lots of crazy stuff
but nothing worked !
I've found a function for NSCell, endEditing:(NSText*)textObj, but how
do I use that because where should I get that text controller from ?!?!