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
Greetings, Marc,
I've seen this behavior when calling -reloadData from a thread other
than the main thread. Is it possible that that's happening in your
case?
_______________________________________________
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