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

Re: Disabling checkboxes in NSTableView


  • Subject: Re: Disabling checkboxes in NSTableView
  • From: Michael Watson <email@hidden>
  • Date: Fri, 15 Dec 2006 18:27:45 -0500

What may be more appropriate would be a custom object that instead of looking like something that could be editable by the user, it's just an indication of state. Think "check mark that is not a check BOX".


-- m-s


On 15 Dec, 2006, at 18:14, Matt wrote:

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:
40bungie.org


This email sent to email@hidden

_______________________________________________

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


References: 
 >Disabling checkboxes in NSTableView (From: Matt <email@hidden>)

  • Prev by Date: Disabling checkboxes in NSTableView
  • Next by Date: Re: Problem when overriding new Apple methods with my categories, what is the best solution?
  • Previous by thread: Disabling checkboxes in NSTableView
  • Next by thread: NSTableView Problem when clicking inside or multiple row
  • Index(es):
    • Date
    • Thread