Programatically edit table view column vs. editable binding
Programatically edit table view column vs. editable binding
- Subject: Programatically edit table view column vs. editable binding
- From: Jim Correia <email@hidden>
- Date: Thu, 16 Jun 2005 17:46:04 -0400
I have a table view in which the name of some of the objects are
editable, some are not. Each responds to canEdit and returns the
appropriate BOOL.
If I bind the editable attribute of the column to
arrangedObjects.canEdit double clicking to start an edit works, but
all programatic edits fail because all objects, not just the one in
the target row, are consulted.
If I change the binding to selection.canEdit double click edits and
programatic edits work correctly.
I originally did arrangedObjects.canEdit because for the value we use
arrangedObjects.name. Were my bindings set up incorrectly? Or is this
a bug I should report.
Example at
http://homepage.mac.com/jimcorreia/tmp/EditableBindingTest.zip
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden