Re: NSTableView: removing the column headers programmatically
Re: NSTableView: removing the column headers programmatically
- Subject: Re: NSTableView: removing the column headers programmatically
- From: Laurent Bertacchini <email@hidden>
- Date: Mon, 10 May 2004 11:51:39 +0200
On May 10, 2004, at 12:17 AM, Andreas Mayer wrote:
>
Am 09.05.2004 um 22:50 schrieb Laurent Bertacchini:
>
>
> Is there a way to remove the column headers programmatically?
>
>
Setting the header view to nil?
>
>
- (void)setHeaderView:(NSTableHeaderView *)aHeaderView
Interesting. I had seen this method while reading the documentation
(which I did several times, mind you), but I didn't think of sending a
nil pointer. I guess I'm still not familiar enough with Objective-C.
And in the NSTableColumn reference, it says that it's forbidden to send
a nil pointer to the method - (void)setHeaderCell:(NSCell *)aCell , so
I was a bit confused.
Anyways thanks a lot, it worked. I love when it's that simple :)
Laurent
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.