• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Corbin Dunn <email@hidden>
  • Date: Wed, 30 Jul 2008 12:52:12 -0700


Anyone using NSOutlineView's outlineView:dataCellForTableColumn:item: delegate message?

Yes -- I have used it in a few places.

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?


corbin
_______________________________________________

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


  • Follow-Ups:
    • Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
      • From: "Sean McBride" <email@hidden>
    • Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
      • From: "Sean McBride" <email@hidden>
References: 
 >outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick. (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Checking for hackintosh
  • Next by Date: Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Previous by thread: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Next by thread: Re: outlineView:dataCellForTableColumn:item: and bindings don't mix? Editing doesn't stick.
  • Index(es):
    • Date
    • Thread