Re: NSTableColumn.identifier()
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.