• 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: Setting title of TableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting title of TableColumn


  • Subject: Re: Setting title of TableColumn
  • From: David Dauer <email@hidden>
  • Date: Sun, 09 Nov 2003 17:31:16 +0100

"Luca Torella" <email@hidden> schrieb am 09.11.2003 17:15 Uhr :

> Hello,
> how can I set the title of a table column programmatically? There
> isn't any setTitle: method...
>
> Luca.
> _______________________________________________
> 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.
>

try:

NSTableColumn *column = [mTV tableColumnWithIdentifier:@"identifier"];
[[column headerCell] setStringValue:@"123"];

And this seems to work here...

Regards
David
_______________________________________________
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.

References: 
 >Setting title of TableColumn (From: Luca Torella <email@hidden>)

  • Prev by Date: Getting started with XML and XMLParser
  • Next by Date: Apple Human Interface values?
  • Previous by thread: Setting title of TableColumn
  • Next by thread: Getting started with XML and XMLParser
  • Index(es):
    • Date
    • Thread