On 9 jun 2009, at 02.59, Arun wrote:

I have an application in which i have binded table column to display a
custom cell which consists of ImageAndText.
I need to implement sorting on the table column based on Text in the custom
cell. Any idea on how we can achieve this?


Hello Arun,

You don't sort your cells, you sort the data that's backing your table view, so the fact that you're using image-and-text cells doesn't really change anything. If you're using bindings, an easy way to provide sorting is to use sort descriptors on the array controller.

j o a r


_______________________________________________

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