Re: why popupbuttoncell always select second item in tableview ?
Re: why popupbuttoncell always select second item in tableview ?
- Subject: Re: why popupbuttoncell always select second item in tableview ?
- From: Corbin Dunn <email@hidden>
- Date: Thu, 05 Feb 2009 07:57:01 -0800
On Feb 4, 2009, at 7:47 PM, Yang Mu wrote:
How to implement difference popup items in each row in table view?
I want to make popup cell related to others. so different row show
different pop cell.
but table view only can set datacell to column, how to set datacell
to row?
I still suggest that you go through the examples and online
documentation for NSTableView/NSOutlineView. In particular /Developer/
Examples/AppKit/DragNDropOutlineView. Your approach of creating an
array of cells and returning the [cell objectValue] is not correct;
create an array of data (ie: strings) and return those form your
controller.
corbin
_______________________________________________
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