Re: Object from TableView cell
Re: Object from TableView cell
- Subject: Re: Object from TableView cell
- From: "Carlos A. Weber" <email@hidden>
- Date: Fri, 14 Jun 2002 07:22:46 -1000
On Thursday, Jun 13, 2002, at 21:42 Pacific/Honolulu, mmalcolm crawford wrote:
>
On Thursday, June 13, 2002, at 11:51 PM, Cristian Savu wrote:
>
>
> What I don't know is how to get the name of the object cell, because the
>
> cell is situated in a table and I do not have an instance of the cells.
>
>
>
It's possible I'm missing something in these exchanges, but in general you certainly do have access to the cells in a tableview -- as has been mentioned several times in the last month or two...
>
For any table column in a tableview, you can get, or set, its dataCell...
I think the original poster is wanting a _different_ popup menu for each cell in his column in the table view. Maybe the delegate method below is the way to go???
- (void)tableView:(NSTableView *)aTableView willDisplayCell:(id)aCell forTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
_______________________________________________
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.