NSOutlineView hiding a column while editing a row in another column
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:04:44 +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