From: Chris Crain on
I used the table editor to insert checkboxes on my uitable. I have a data cell array behind the table. But it does not allow me to check and uncheck the checkbox. I have a suspicion it is the data type in my data cell array I have it set to c{1} = 0;

I have also tried placing code behind the checkbox to check the box but then I cannot uncheck it in the same fashion.

If someone could provide an example of using the uitable 'logical' checkboxes that would be great.

Thanks
From: Walter Roberson on
"Chris Crain" <lakedoo23(a)yahoo.com> wrote in message <ht3ino$j74$1(a)fred.mathworks.com>...
> I used the table editor to insert checkboxes on my uitable. I have a data cell array behind the table. But it does not allow me to check and uncheck the checkbox. I have a suspicion it is the data type in my data cell array I have it set to c{1} = 0;

Did you notice this section of the uitable documentation:

"Remarks

Users can change values in a table if the ColumnEditable property is true for the column they attempt to edit. By default, this property is false for all columns. If the column contains pop-up choices, only the current choice is visible (and not the pop-up menu control) when its column cannot be edited."

The same inability to make a choice would be true for checkboxes.