• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remove indicatorImage from table column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Remove indicatorImage from table column (From: John Buckley <email@hidden>)

  • Prev by Date: Managin mouse events in full screen
  • Next by Date: Re: getting visible character range
  • Previous by thread: Re: Remove indicatorImage from table column
  • Next by thread: Interrogating selectors at runtime
  • Index(es):
    • Date
    • Thread