I am looking for a way to handle different type of data in one column of a Matlab uitable
.
Usually uitable
is used to set whole columns to the same data type, such as logical
(gives a checkboxes), char
(gives left-aligned text), numeric
(gives right-aligned number) or a 1xn-cell-array (gives pop-up menus with different choices).
It is set using the columnformat
property of uitable
, e.g.
columnformat = {'numeric', 'logical', {'Fixed' 'Adjustable'}}; % 3 columns
You can find an example at matlab documentation.
I am looking for a way to set the format for single cells to realize something like this: