Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSTableView




On Oct 21, 2004, at 11:15 AM, Peter Karlsson wrote:

Dear list!

Yesterday I subclassed my NSTableView so the user can edit a row and press
return to exit the editing process, everything worked as expected. Today I
did the same thing to another app. But when I have edited the row and press
return the text in the row is not changed to the one I have typed. It
changes back to the text that was in the row before the editing took place.
Can someone tell me what's going on here? Very strange...

1) tableView:setObjectValue:forTableColumn:row: is not implemented

or

2) There's a bug in the implementation of tableView:setObjectValue:forTableColumn:row:

or

3) There's a formatter which is denying the new value


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Subclassing NSTableView (From: "Peter Karlsson" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.