• 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: NSTableView solution feedback and questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView solution feedback and questions


  • Subject: Re: NSTableView solution feedback and questions
  • From: Jay Martin <email@hidden>
  • Date: Tue, 18 Mar 2008 13:48:18 -0500

If your data model is updated but not the Table View simply calling setNeedsDisplay on the tv should be enough and less expensive (you can even simply call it for rects of cells to be updated)

Laurent

That's it! Using setNeedsDisplay (instead of reloadData) on the TableView while another cell is being edited causes the TableView to update but not to interrupt to the editing process.


Thanks!!
jay
_______________________________________________

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: 
 >NSTableView solution feedback and questions (From: Jay Martin <email@hidden>)
 >Re: NSTableView solution feedback and questions (From: Laurent Cerveau <email@hidden>)

  • Prev by Date: Re: Carbon Menu in Cocoa app
  • Next by Date: Re: Carbon Menu in Cocoa app
  • Previous by thread: Re: NSTableView solution feedback and questions
  • Next by thread: Re: NSTableView solution feedback and questions
  • Index(es):
    • Date
    • Thread