Mac OS X 10.4.11 (PPC)

I'm seeing a potential bug or unsupported behavior when it comes to cell edition.

I have a NSOutlineView. One of the column data cell of this view is a text field cell which is potentially editable.

Now, if I return nil in

- (id) outlineView:(NSOutlineView *) inOutlineView objectValueForTableColumn:(NSTableColumn *) inTableColumn byItem:(id) inItem

and then later set the string value (through setStringValue:) in

- (void) outlineView:(NSOutlineView *) inOutlineView willDisplayCell: (NSCell *)cell forTableColumn:(NSTableColumn *) inTableColumn item: (id) inItem

there's a very weird behavior with leaf rows:

When I select them (first click, it's not like the default behavior in 10.5), the text field cell automatically enters edition mode without even asking the opinion of

- (BOOL) outlineView:(NSOutlineView *) inOutlineView shouldEditTableColumn:(NSTableColumn *) inTableColumn item:(id)inItem


Is it a bug or just an unsupported scenario?


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to