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