Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
- Subject: Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
- From: "Sean McBride" <email@hidden>
- Date: Wed, 30 Jul 2008 15:56:58 -0400
- Organization: Rogue Research
On 7/30/08 12:52 PM, Corbin Dunn said:
>> Anyone using NSOutlineView's outlineView:dataCellForTableColumn:item:
>> delegate message?
>
>Yes -- I have used it in a few places.
No doubt. :)
>> I'm trying to use it exactly as used in the
>> DragNDropOutlineView example: to use a cell that will be used for the
>> entire row (ie a full width cell).
>>
>> It works in the test app (which doesn't use bindings), but doesn't
>> work
>> in my app that uses bindings. I'm able to get the full width cell
>> look,
>> but editing the cell stops working. I can type a new value for the
>> cell, but pressing return/tab doesn't commit the new value.
>>
>> This short sample shows the problem.
>> <http://www.rogue-research.com/vtk/TreeTestFullWidthBug.zip>
>>
>> Anyone made full width cells work with bindings?
>
>Ah...with bindings. Xcode uses it with bindings, but they don't allow
>the "group rows" to be edited. The trouble is that the bindings go
>with the tablecolumn...and there really isn't a table column in that
>case. Have you tried manually handling the updates yourself w/the
>datasource method?
I haven't tried that, but I will.
So is what I'm seeing a bug? Should I file a radar?
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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