• 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: NSTableView identify problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView identify problem


  • Subject: Re: NSTableView identify problem
  • From: Quentin Mathé <email@hidden>
  • Date: Sat, 11 Jan 2003 03:58:58 +0100

Le vendredi, 10 jan 2003, ` 20:15 Europe/Paris, Volker Bublitz a icrit :

i'm using one class as a data source for four NSTableViews ... i set the NSTableColumn of the header to a different name and identifier. when the method

- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)row;

is triggered i need to know which NSTableView aTableView really is.. how can i access information about the title or another identifier for NSTableViews?

You can use the tag (in this case, it's better to have the different tables in the same window) or the autosave name, you can set these two properties in the IB inspector for TableView.

i know i can get the NSTableHeaderView - but how can i get the header NSTableColumn to check its identifier? or is there another way?

Check the identifier for the NSTableColumn.

--
Quentin Mathi
email@hidden
_______________________________________________
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: 
 >NSTableView identify problem (From: Volker Bublitz <email@hidden>)

  • Prev by Date: Re: How to know if an NSString contains a string?
  • Next by Date: Re: Aqua Human Interface and Safari
  • Previous by thread: Re: NSTableView identify problem
  • Next by thread: Re: NSTableView identify problem
  • Index(es):
    • Date
    • Thread