On Wed, May 13, 2009 at 9:19 AM, I. Savant <idiotsavant2...@gmail.com> wrote:
> On Wed, May 13, 2009 at 8:15 AM, Sourabh Sahu
> <sourabh_s...@persistent.co.in> wrote:
>> Hi Everyone,
>> I want to reflect changes in cell of NSTableView without calling reloadData 
>> function, any help would be appreciated.
>
>  That would be difficult, hacky, and wrong. Why do you feel you need
> to do this? What are you trying to accomplish?

Actually it's trivial, correct, and documented. From the docs for
frameOfCellAtColumn:row:

You can use this method to update a single cell more efficiently than
sending the table view a reloadData message.

[aTableView setNeedsDisplayInRect:[aTableView
frameOfCellAtColumn:column row:row]];

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to