• 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: NSTableColumn.identifier()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableColumn.identifier()


  • Subject: Re: NSTableColumn.identifier()
  • From: Ullrich Platt <email@hidden>
  • Date: Tue, 12 Feb 2002 08:09:18 +0100

email@hidden schrieb:

> Hello, I have a NSTableView and the datasource. In IB I give columns names to the table, but in
> tableViewObjectValueForLocation i want to get the column identifier( with NSTablecolumn.identifier()) for displaying
> the data but it always return null. How do i do that?
>
> Thanks.
> _______________________________________________
> 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.

Hm, I just reconstructed the case and when I do an
"System.out.println(((NSTableColumn)tableView.tableColumns().objectAtIndex(0)).identifier());"
in windowControllerDidLoadNib, the correct identifier is printed out.

However, I recognized that there is a little problem when entering the identifiers in IB.
The identifier must be entered in the inspector while the column header is blue.
If you enter the identifier while the column header text field of the Column is ready for input, the identifier is not
accepted.

Hope I could help.
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSTableColumn.identifier()
      • From: email@hidden
References: 
 >NSTableColumn.identifier() (From: email@hidden)

  • Prev by Date: Re: newbie question on 'Cocoa Programming for Mac OS X'
  • Next by Date: Re: Drag n Drop on a NSControl : NSTextField?
  • Previous by thread: Re: NSTableColumn.identifier()
  • Next by thread: Re: NSTableColumn.identifier()
  • Index(es):
    • Date
    • Thread