Re: TableView refresh
Re: TableView refresh
- Subject: Re: TableView refresh
- From: Glen Simmons <email@hidden>
- Date: Wed, 6 Feb 2002 09:02:02 -0600
As others have pointed out, it's usually not necessary to optimize this,
but here ya go:
Use NSTableView's frameOfCellAtColumn:row: to get the rect for that
cell, then call setNeedsDisplayInRect: passing that rect. This will
cause the table to reload that particular cell.
HTH,
Glen
On Wednesday, February 6, 2002, at 02:09 AM, Dustin Mierau wrote:
>
I need to be able to refresh the data for a single cell in a table, is
>
this possible? Also, is it possible to refresh a table column? I only
>
see the method reloadData, but that seems like quite a price to pay
>
just to reload a single cell.
>
>
Thanks,
>
-dustin
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
>
Adults are obsolete children.
-Dr. Seuss, humorist, illustrator, and author (1904-1991)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.