Re: Array Controller - Making some items uneditable?
Re: Array Controller - Making some items uneditable?
- Subject: Re: Array Controller - Making some items uneditable?
- From: Jim Correia <email@hidden>
- Date: Tue, 13 Jun 2006 08:35:48 -0400
On Jun 13, 2006, at 7:45 AM, Matt Gough wrote:
I have a table view bound to an array controller. I would like to
prevent some of the items in the table being edited (by double-
clicking them). I could obviously prevent any changes being
propagated using validate<key>:error: but I'd prefer it if the user
wasn't lulled into thinking they can make changes.
I imagine I could override [NSTableColimn isEditable] and check the
selection, but I was hoping for a purely KVC-based solution.
NSTableColumn has an "editable" binding.
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