making an "enabled" binding on a per-row basis in an NSTableView
making an "enabled" binding on a per-row basis in an NSTableView
- Subject: making an "enabled" binding on a per-row basis in an NSTableView
- From: Niko Matsakis <email@hidden>
- Date: Fri, 21 Oct 2005 14:30:02 +0200
I have a table where each row displays an items. For some rows, the
item displayed is immutable, whereas other rows have objects whose
fields may be edited. This is indicated by the value of an
"immutable" attribute.
I would like to use Cocoa Bindings so that the immutable objects are
not editable.
I have attempted to achieve this by binding "enabled" for each column
to "NSNegateBoolean(arrangedObjects.immutable)", but this seems to
have had absolutely no effect.
Any advice?
Thanks!
Niko
_______________________________________________
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