Hello,

I have a table view which contains a column that displays checkboxes. I would 
like to disable and gray out some of the checkboxes, so I guess there are two 
possible ways (perhaps there's another way?):

1) disable the control (i.e. gray out) so that the user cannot toggle it (in 
one single method)
2) ignore tracking for the affected rows and disable the cell/control (in two 
or more methods)

I've tried option #2. I've implemented - 
(BOOL)tableView:shouldTrackCell:forTableColumn:row: and the click gets properly 
ignored. However, I'd also like to indicate to the user that the checkbox 
cannot be toggled, and this is where I'm stuck. How would some of these 
checkboxes be grayed out?

Thanks in advance,

-- Tito
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to