Re: Table column sorting for ImageAndTextCell
Re: Table column sorting for ImageAndTextCell
- Subject: Re: Table column sorting for ImageAndTextCell
- From: Joar Wingfors <email@hidden>
- Date: Tue, 9 Jun 2009 06:54:20 -0700
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 (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