Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.