Re: refreshing the header title for an NSTableColumn [fixed!]
Re: refreshing the header title for an NSTableColumn [fixed!]
- Subject: Re: refreshing the header title for an NSTableColumn [fixed!]
- From: Josh Burnett <email@hidden>
- Date: Thu, 10 Nov 2005 17:31:57 -0500
Aha! That's what I was looking for.
I believe the confusion (on my part and others') arises from the fact
that you change the header's title by using the [[tableColumn
headerCell] setStringValue:@"newTitle"] method, but to refresh the
display the setNeedsDisplay gets sent to the NSTableHeaderView, not the
NSTableHeaderCell.
Thanks for all your help! I'm sure others will find this info useful,
too.
Josh
On Thu, 10 Nov 2005 08:45:03 -0500, Josh Burnett
<email@hidden> wrote:
I've tried the [tableView setNeedsDisplay:YES]. Doesn't work. Neither
column or its header have setNeedsDisplay methods.
NSTableHeaderView, being a subclass of NSView, has a setNeedsDisplay:
method.
Best wishes,
Hamish
_______________________________________________
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