UITable with checkboxes and variable columns
Show older comments
Hi,
I want to create a UItable containing Checkboxes. The user of the UI should be able to customize the size of the chechbox table.
My problem ist, that i need to set the property 'logical' in the code for each column.
Following code only runs if the table has 5 columns.
rows = userInputRow;
columns = userInputColumns;
app.SearchedTable.Data = table('size', [rows,colums], ...
'VariableTypes', {'logical', 'logical', 'logical','logical', 'logical'});
Can I change the 'VariableTypes' property to 'logical' for a undefined number of columns?
Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!