• 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: Updating a cell in NSTableView - it just will not draw!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating a cell in NSTableView - it just will not draw!


  • Subject: Re: Updating a cell in NSTableView - it just will not draw!
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 20 Apr 2008 22:48:42 -0700


On 20 Apr '08, at 10:40 PM, Graham Cox wrote:

So the question is: is there a way to trigger the reload of just a single row? This isn't necessarily the selected row... if I just mark for update the cell rect for the row/column is NSTableView smart enough to only request the data for that row/column?

Yup. You don't need to explicitly tell the table to reload the data for a row, because it doesn't cache it. It asks the dataSource every time it needs to display any cells. (The only thing the table caches is the number of rows.)


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: Updating a cell in NSTableView - it just will not draw! [SOLVED]
      • From: Graham Cox <email@hidden>
References: 
 >Updating a cell in NSTableView - it just will not draw! (From: Graham Cox <email@hidden>)
 >Re: Updating a cell in NSTableView - it just will not draw! (From: Jens Alfke <email@hidden>)
 >Re: Updating a cell in NSTableView - it just will not draw! (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Updating a cell in NSTableView - it just will not draw!
  • Next by Date: Re: Updating a cell in NSTableView - it just will not draw! [SOLVED]
  • Previous by thread: Re: Updating a cell in NSTableView - it just will not draw!
  • Next by thread: Re: Updating a cell in NSTableView - it just will not draw! [SOLVED]
  • Index(es):
    • Date
    • Thread