• 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: Setting data cell type for a specific row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting data cell type for a specific row


  • Subject: Re: Setting data cell type for a specific row
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 26 Jan 2009 19:56:57 -0500

On Jan 26, 2009, at 7:45 PM, I. Savant wrote:

 Well what did you expect it to do?

Again ... you don't get a reference to an individual cell at a row/ column. Tables don't work that way in Cocoa. The cell for a column is a *prototype* cell that's reused (changed and re-rendered in the proper position per row). Changing the data cell changes the *one* prototype that's used.

Just to clarify something that might not be so obvious, you need to respond with the preferred cell for *every* row. In other words, in your case, always answer with the usual cell until you get to the last row, then answer with the alternate cell.


--
I.S.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Setting data cell type for a specific row (From: email@hidden)
 >Re: Setting data cell type for a specific row (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Setting data cell type for a specific row
  • Next by Date: ass/ssa support
  • Previous by thread: Re: Setting data cell type for a specific row
  • Next by thread: Re: Setting data cell type for a specific row
  • Index(es):
    • Date
    • Thread