Error when trying to set UITable columnwidth to 'fit' in App Designer
Show older comments
When attempting to set the column width to "fit" in a UITable in App Designer (MATLAB R2019a), I get the error below:

The docs suggest otherwise here: https://uk.mathworks.com/help/matlab/ref/matlab.ui.control.tableappd-properties.html
Could this be due to the version? Is there a way to see which version the doc pages apply to?
Answers (1)
Mario Malic
on 4 Mar 2021
0 votes
Hi,
Looks like this is 2020b feature.
If you want to see to which release the documentation belongs, see the top right corner where is release version shown.
4 Comments
James Leighs
on 5 Mar 2021
Mario Malic
on 5 Mar 2021
That means, that the uitable component is introduced in 2016b, over the time the improvements are inrocduced such as this one, 'fit'. I have checked the 2020a and saw that the 'fit' is missing from the Name-Value pair.
The proper way of finding the changes are:
Documentation home page, there are two links Release Notes | Other Releases, if you click on notes, select MATLAB from dropdown where it asks about product, and on left side, you can type in uitable as a filter and you'll see the changes.
James Leighs
on 5 Mar 2021
Mario Malic
on 5 Mar 2021
You're welcome.
Definitely, that would be useful.
Categories
Find more on Startup and Shutdown 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!