Re: Updating a cell in NSTableView - it just will not draw!
Re: Updating a cell in NSTableView - it just will not draw!
- Subject: Re: Updating a cell in NSTableView - it just will not draw!
- From: Jens Alfke <email@hidden>
- Date: Sun, 20 Apr 2008 22:48:42 -0700
On 20 Apr '08, at 10:40 PM, Graham Cox wrote:
So the question is: is there a way to trigger the reload of just a
single row? This isn't necessarily the selected row... if I just
mark for update the cell rect for the row/column is NSTableView
smart enough to only request the data for that row/column?
Yup. You don't need to explicitly tell the table to reload the data
for a row, because it doesn't cache it. It asks the dataSource every
time it needs to display any cells. (The only thing the table caches
is the number of rows.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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