• 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: refreshing the header title for an NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refreshing the header title for an NSTableColumn


  • Subject: Re: refreshing the header title for an NSTableColumn
  • From: Jeff Gilbert <email@hidden>
  • Date: Thu, 10 Nov 2005 08:25:15 -0600

Hi Josh,

I had this problem a while back. The only thing I found that would refresh the column headers is [tableView reloadData].

Good luck,
Jeff

On Thursday, November 10, 2005, at 07:55AM, Josh Burnett <email@hidden> wrote:

>I've tried the [tableView setNeedsDisplay:YES].  Doesn't work.  Neither
>column or its header have setNeedsDisplay methods.
>
>Other than those, I'm at a loss as to what I should try.  Any other
>ideas?
>
>Thanks,
>
>Josh
>
>On Nov 10, 2005, at 12:00 AM, gennady wexler wrote:
>
>> If Table control is a derivient of NSView/NSResponder, would this force
>> redraw of the control?
>>
>> [self setNeedsDisplay:YES];
>>
>> Or that is what does not work as expected/spec'ed?
>>
>>> From: Josh Burnett <email@hidden>
>>>
>>> [[theColumn headerCell] setStringValue:@"new name"];
>>> responded to it.  How do I get the header to refresh?
>>>
>>
>>
>>
>
> _______________________________________________
>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: refreshing the header title for an NSTableColumn (From: gennady wexler <email@hidden>)
 >Re: refreshing the header title for an NSTableColumn (From: Josh Burnett <email@hidden>)

  • Prev by Date: Re: NSArrayController/TreeController out of bounds
  • Next by Date: Re: refreshing the header title for an NSTableColumn
  • Previous by thread: Re: refreshing the header title for an NSTableColumn
  • Next by thread: Re: refreshing the header title for an NSTableColumn
  • Index(es):
    • Date
    • Thread