• 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
NSOutlineView hiding a column while editing a row in another column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView hiding a column while editing a row in another column


  • Subject: NSOutlineView hiding a column while editing a row in another column
  • From: Joan Lluch (casa) <email@hidden>
  • Date: Fri, 11 Jul 2008 01:17:04 +0200

I have a NSOutlineView which I want to make several columns hidden in response to a user action. I have set up the outlineColumn to resize with table and the rest have fixed size, so that when one or more columns are hidden, the outlineColumn widens accordingly. In normal conditions everything goes as expected.

However, if the user is editing a row of the outlineColumn and then decides to hide a different column, the focus ring of the resized outlineColumn is not changed and the result is a mess of several columns in that row.

I just need a way to tell the outlineView that update the size of the cell being edited (and its focus ring), or simply a way to programatically commit and accept the user changes on the cell. I can not use commitEditing because the outlineView is not bound to any controller, and I use the data source methods instead.

Any help will be appreciated

Joan Lluch
_______________________________________________

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: NSOutlineView hiding a column while editing a row in another column
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: NSOutlineView hiding a column while editing a row in another column
  • Next by Date: Re: XCode3 for Persistent Data on Tiger
  • Previous by thread: NSOutlineView hiding a column while editing a row in another column
  • Next by thread: Re: NSOutlineView hiding a column while editing a row in another column
  • Index(es):
    • Date
    • Thread