• 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: Multiple cell types in the same column?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple cell types in the same column?


  • Subject: Re: Multiple cell types in the same column?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Mon, 26 Jan 2004 01:49:45 +0100

At 20:56 Uhr +0100 25.01.2004, Florent Pillet wrote:
I need to present a column with cells which can be checkboxes, combo boxes, text fields, etc depending on the rows which is being displayed/edited. Is there a simple way to do this?
(or a way to do this at all, without rewriting the whole NSTableView).

Sorry, I missed that you want to do that in the same row.

But I guess if all else fails, you could write your own NSCell subclass that hands off its actions to the proper kind of cell depending on what type's needed for this row. I.e. make a cell that delegates the actual work, but which hides the fact that these are different cells from NSTableView.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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: 
 >Multiple cell types in the same column? (From: Florent Pillet <email@hidden>)

  • Prev by Date: Re: MutableDictionary not adding objects?
  • Next by Date: Re: MutableDictionary not adding objects?
  • Previous by thread: Re: Multiple cell types in the same column?
  • Next by thread: Re: Multiple cell types in the same column?
  • Index(es):
    • Date
    • Thread