• 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
Different NSCells in one NSTableView/NSTableColumn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Different NSCells in one NSTableView/NSTableColumn


  • Subject: Different NSCells in one NSTableView/NSTableColumn
  • From: Felix Schwarz <email@hidden>
  • Date: Mon, 16 May 2005 22:25:03 +0200

Hi everybody,

I need to have different NSCells (NSPopUpCell, NSComboBoxCell, NSButtonCell, NSTextFieldCell) in one column on a per-row basis. Much like when you click on the project in XCode, click "Get info", choose the "Styles" tab and then have different kind of cells for the compiler and linker settings.

Problem is, I don't find any information or sample code on how to do this. I tried to exchange the NSCell of the NSTableColumn in the

    tableView:willDisplayCell:forTableColumn:row:

and

    tableView:objectValueForTableColumn:row:

delegate calls, but both results in or more or less unusable / "corrupt" display of my data.

Any help would be greatly appreciated!

Best regards,
Felix
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Different NSCells in one NSTableView/NSTableColumn
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: From Panther to Tiger
  • Next by Date: Re: From Panther to Tiger
  • Previous by thread: Re: Should I observe every object in my view, or just the visible ones?
  • Next by thread: Re: Different NSCells in one NSTableView/NSTableColumn
  • Index(es):
    • Date
    • Thread