Re: NSTableView, 2mln rows, looks bad.
Re: NSTableView, 2mln rows, looks bad.
- Subject: Re: NSTableView, 2mln rows, looks bad.
- From: Corbin Dunn <email@hidden>
- Date: Mon, 04 May 2009 16:21:31 -0700
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@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