Reputation: 61
I have an application which loads the result in a table view, there are around 10 columns in the table view. Out of the 10 columns there are 2 columns which are check boxes, Currently the values in the Result set come as 0 and 1. The problem is the values for the check box are coming currently like if its 1 the check box is checked if its 0 the check box is unchecked, but according to my requirement i don't want the check box to be editable, currently the check box is getting editable.
I tried using Editable Binding for the Check box, but it did not work.
Not sure how to achieve this!! Thanks in Advance!!!
Upvotes: 0
Views: 479
Reputation: 59989
You can disable it:
[checkbox setEnabled:NO];
It will be greyed out then, but that should be OK, since that indicates it is not changeable.
Upvotes: 1