Re: Where to noteHeightOfRowsWithIndexesChanged
Re: Where to noteHeightOfRowsWithIndexesChanged
- Subject: Re: Where to noteHeightOfRowsWithIndexesChanged
- From: Jens Alfke <email@hidden>
- Date: Tue, 15 Jun 2010 10:55:43 -0700
On Jun 15, 2010, at 10:51 AM, Jerry Krinock wrote:
>> There are usually about 200,000 rows, so calculating the actual height for all rows is not an option (since it takes about 19 seconds).
>
> you may have exceeded the capabilities of NSTableView's variable heights
I agree. Variable row heights were a late addition to NSTableView (added in 10.3 or 10.4?) and I wouldn’t be surprised if they’re not optimized for huge numbers of rows.
You might want to reconsider using fixed-height rows, or break your table into multiple pages.
—Jens_______________________________________________
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