On May 4, 2009, at 1:46 PM, Тимофей Даньшин wrote:

Hello.
I need to have a tableView with about 2 million rows, and that figure may actually be bigger. But the table looks awfully bad in that case: you get artifacts when scrolling, the text in the rows does not coincide with the alternate bluish and white stripes, and if you click on a row, you get the action from another row, not the one you see. Is it the problem of my design (i.e. i may have done anything wrong while writing that),

Yes -- you should limit your results to some more reasonable number; 2 million rows is not reasonable. For a comparison UI, search results in Finder/spotlight are limited with a "More results..." button to see more.

or is it a flaw of NSTableView? Are there any workarounds?

Yes -- it is due to a rounding error in tableview. It should be fixed with the 64-bit version of your app.

corbin


_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to