Re: Problem with NSTableView and editing (SOLVED)
Re: Problem with NSTableView and editing (SOLVED)
- Subject: Re: Problem with NSTableView and editing (SOLVED)
- From: Phil <email@hidden>
- Date: Sat, 21 Apr 2007 18:33:33 -0400
I wasn't calling setEditable:YES for the data cells which were being
created for NSTableColumn.
On Apr 20, 2007, at 10:01 PM, Phil wrote:
While I've used editable NSTableViews before, this is my first time
attempting to do everything 'by hand' (i.e. not using IB) and am
stuck enabling cell editing so I wanted see if anyone has
suggestions on what I might be missing. I've implemented a data
source and the NSTableView (along with table columns, etc.) have
all been set up programatically. The columns have been sent
setEditable:YES and the data source implements
tableView:setObjectValue:forTableColumn:row: method but double-
clicking the cell does not allow editing of the cells and the
setObjectValue method is never called. Besides editing, the table
view appears otherwise functional. Any ideas on what I should be
looking at?
Thanks.
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40comcast.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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