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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to