Re: Visible Rect and objectValueForColumn
Re: Visible Rect and objectValueForColumn
- Subject: Re: Visible Rect and objectValueForColumn
- From: Fritz Anderson <email@hidden>
- Date: Sat, 25 Sep 2010 13:57:01 -0500
On 24 Sep 2010, at 10:10 AM, email@hidden wrote:
> Is it true that NSTableDataSource method tableView:objectValueForTableColumn:row is called as function of ther associated NSTableView's visible rect?
>
> If so, can one make adjustments to the visible rect thereby tricking NSTableDataSource into calling tableView:objectValueForTableColumn:row ?
Why would you want to? NSTableView is a view — it cares only about the rows and columns it has to draw. It doesn't need to know the values behind parts of the table that aren't visible. It doesn't keep those values, it only pulls them out of your code and draws them. In practice, so far as the table view is concerned, those parts don't even exist. If you want to evaluate other parts of your model, have your model do it itself.
— F
_______________________________________________
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