Disabling checkboxes in NSTableView
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