Re: Table Editing
Re: Table Editing
- Subject: Re: Table Editing
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 28 Sep 2004 18:16:34 -0600
On Sep 28, 2004, at 5:23 PM, Jacob Lukas wrote:
I have a table with 4 editable columns and 2 non-editable columns. I
have each column bound to an array controller. Under certain
circumstances, I would like two of the editable columns to not be
editable. Currently, when setObject:ForKey: is called, I just don't
set it if it's not editable. Is there a more elegant solution?
Yes:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSTableColumn.html#//apple_ref/doc/
uid/20000119/setEditable_>
You can get the table column pointers from your table view.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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