• 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
Disabling checkboxes in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disabling checkboxes in NSTableView


  • Subject: Disabling checkboxes in NSTableView
  • From: Matt <email@hidden>
  • Date: Fri, 15 Dec 2006 18:14:37 -0500

I have a table view bound to an array of objects, each object with a BOOL flag that I would like to display to the user in this table column.

If I drop a checkbox nsbuttoncell in the column and bind it to the bool, it works just fine. However, I don't want these to be user editable, I just want it as a visual clue that it's either enabled or disabled for that particular object, row by row. I have unchecked the "Editable" box in IB in the Attributes pane, which works fine when I bound strings and nsnumbers in the same object. Doesn't do a thing here though.

If anyone has any thoughts, I'd appreciate it.

Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Disabling checkboxes in NSTableView
      • From: Michael Watson <email@hidden>
  • Prev by Date: Re: Slider in menu (like System Volume)
  • Next by Date: Re: Disabling checkboxes in NSTableView
  • Previous by thread: Re: PDFKit: PDF version and page labels
  • Next by thread: Re: Disabling checkboxes in NSTableView
  • Index(es):
    • Date
    • Thread