Error when trying to set UITable columnwidth to 'fit' in App Designer
Mostrar comentarios más antiguos
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?
Respuestas (1)
Mario Malic
el 4 de Mzo. de 2021
0 votos
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 comentarios
James Leighs
el 5 de Mzo. de 2021
Mario Malic
el 5 de Mzo. de 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
el 5 de Mzo. de 2021
Mario Malic
el 5 de Mzo. de 2021
You're welcome.
Definitely, that would be useful.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!