NSTableView "sometimes" doesn't repaint on reloadData:?
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