Re: Remove indicatorImage from table column
Re: Remove indicatorImage from table column
- Subject: Re: Remove indicatorImage from table column
- From: Greg Herlihy <email@hidden>
- Date: Mon, 06 Feb 2006 09:12:44 -0800
- Thread-topic: Remove indicatorImage from table column
One would think setIndicatorImage would be the right routine to call in this
case, but it doesn't actually do anything since the indicator image is
already null (unless the app has previously set an indicator image to appear
in the column).
The indicator image is not to be confused with the sort indicator that also
appears in a table column to indicate a sorting direction. To hide the sort
indicator, subclass NSTableHeaderCell and override
drawSortIndicatorWithFrame. Then install this subclass as the header cell of
the column or columns whose sort indicators you wish to manage.
Greg
On 2/6/06 2:35 AM, "John Buckley" <email@hidden> wrote:
> [tableView setIndicatorImage: nil inTableColumn: col];
>
> should do the trick.
>
> Regards,
>
> John
>
> On 05/02/06, Steve Woodward <email@hidden> wrote:
>> For various reasons I've had to resort to sorting a particular table
>> view manually. I can easily set the ascending or descending image,
>> but when a user clicks on another table column I'd like to set the
>> indicator image to null...I've searched around but have been unable
>> to find a way to more or less "delete" the image from the column header.
>> Thanks in advance for any advice!
>>
>> Steve Woodward
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
>
> --
> ------------------------
> Dr. John Buckley
> email@hidden
>
> Mac OS X Tiger
> ------------------------
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden