• 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: Embedding a Check Box in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding a Check Box in an NSTableView


  • Subject: Re: Embedding a Check Box in an NSTableView
  • From: octarine <email@hidden>
  • Date: Fri, 2 Apr 2004 10:31:25 +0100

Bruce, it certainly is possible. I have the same requirement in my application, I achieved it my subclassing NSTableColumn. I used Key/Value coding to set/unset my BOOLs. If you like I can post the code when I get back home to my iBook tonight.

jim
On Thu, Apr 01, 2004 at 10:37:03PM -0500, Bruce Truax wrote:
> I have a table view where one column is displaying a boolean value. Is it
> possible to put a check box in this column to display and allow changing the
> state of the boolean value?
>
> In another case I also need to display a boolean value but in this case it
> it mutually exclusive. In other words, for all of the items in the table,
> only one true value is allowed and the rest must be false. In this case it
> would be ideal if I could use an array of radio buttons. Is this possible?
_______________________________________________
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: 
 >Embedding a Check Box in an NSTableView (From: Bruce Truax <email@hidden>)

  • Prev by Date: Altering attributes of hyperlinked text
  • Next by Date: Re: BEST BOOK FOR LEARNING COCOA
  • Previous by thread: Re: Embedding a Check Box in an NSTableView
  • Next by thread: Re: Embedding a Check Box in an NSTableView
  • Index(es):
    • Date
    • Thread