• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Table Editing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Table Editing
      • From: Jacob Lukas <email@hidden>
References: 
 >Table Editing (From: Jacob Lukas <email@hidden>)

  • Prev by Date: Re: NSXMLParser and CDATA sections
  • Next by Date: Re: Table Editing
  • Previous by thread: Table Editing
  • Next by thread: Re: Table Editing
  • Index(es):
    • Date
    • Thread