Re: what cell is being editing
Re: what cell is being editing
- Subject: Re: what cell is being editing
- From: Stefan Schüßler <email@hidden>
- Date: Sat, 2 Aug 2003 15:45:42 +0200
You could implement the tableView:shouldEditTableColumn:row: delegate.
It is called just before the user starts editing, e.g.:
- (BOOL)tableView:(NSTableView *)aTableView
shouldEditTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex
{
NSLog( @"about to edit cell with id '%@' at row #%d",
[aTableColumn identifier], row );
return YES; // allow editing
}
Don't forget to set the tableview's delegate to the object that
implements this method.
Stefan
Am Samstag, 02.08.03 um 15:06 Uhr schrieb Luca Torella:
How can I know what cell is being editing in a NSTableView?
Luca.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.