Create uitable with ROWS as checkboxes?
4 views (last 30 days)
Show older comments
I understand how to create, use and manipulate logical cells as COLUMNS in a uitable - but is there a way to make the first row, say, all checkboxes? I suspect not since there is no RowFormat property, or something similar.
Any ideas?
2 Comments
Geoff Hayes
on 13 Sep 2014
Lachlan - one "solution" is to just create another uitable with one row and several columns, all of which are logical. Then place this table above the second table on your GUI so that your table appears to have its first row with checkboxes. This could work if you have a fixed number of columns and don't allow the user to scroll left or right (so there is no need to keep the two uitables in synch with respect to which columns get shown).
I'm not all that fond of a solution like this (that's why I quoted "solution") but it may do what you want.
Answers (0)
See Also
Categories
Find more on Environment and Settings 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!