• 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
NSTableView "sometimes" doesn't repaint on reloadData:?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView "sometimes" doesn't repaint on reloadData:?


  • Subject: NSTableView "sometimes" doesn't repaint on reloadData:?
  • From: marc hoffman <email@hidden>
  • Date: Sat, 30 Aug 2008 23:08:54 +0200

Hi,

im seeing an odd issue, maybe someone has an idea? i have an NSTableView on my form, populated from an array by implementing the numberOfRowsInTableView: and objectValueForTableColumn:row: methods. i have some I elements on my form that update (filter) the contents if the array, and call reloadData:, when they do.

most of the time, this works fine, and the table view updates instantaneously. however, some (rare) times, this does not happen, and the view of the grid does not change when i call reloadData: - however, when i scroll or even just click on a row, the rows repaint with the new values, or new rows appear where previously where none (if the data grew).

any idea what might be happening? i mean, obviously the call to reloadData: takes fine, else if the table had - say - 3 rows before, it would not know to paint row five when i click it, right?

thanx,


Yours,

marc hoffman

RemObjects Software
The Infrastructure Company
http://www.remobjects.com

_______________________________________________

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: NSTableView "sometimes" doesn't repaint on reloadData:?
      • From: "Michael Ash" <email@hidden>
    • Re: NSTableView "sometimes" doesn't repaint on reloadData:?
      • From: Andrew Merenbach <email@hidden>
  • Prev by Date: Re: How do I use Sort Descriptor binding in IB on my array controller?
  • Next by Date: Re: Newb Question re NSUserDefaults and Ints
  • Previous by thread: Re: How do I use Sort Descriptor binding in IB on my array controller?
  • Next by thread: Re: NSTableView "sometimes" doesn't repaint on reloadData:?
  • Index(es):
    • Date
    • Thread