Re: NSTableView and programmatic changing of contextual menu
Re: NSTableView and programmatic changing of contextual menu
- Subject: Re: NSTableView and programmatic changing of contextual menu
- From: Kyle Sluder <email@hidden>
- Date: Tue, 25 Aug 2009 08:58:49 -0700
On Tue, Aug 25, 2009 at 8:35 AM, Jason Foreman<email@hidden> wrote:
> Another way is to implement the
> -tableView:willDisplayCell:forTableColumn:row: delegate method and assign
> the cell's menu there.
Table views reuse their cells. You can't do a per-row menu by setting
the cell menu, because there's only one cell for a column.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden