ColumnWidth Property on uitable
3 views (last 30 days)
Show older comments
Creating an uitable with initial 'ColumnWidth' values that can be changed by the user. Does anyone know if Mathworks allows to get the current ColumnWidth values yet? People have been asking for this since 2009 and I know very well Yair's Auto Resize trick but I can't use 3rd party code. I have not found a way to go around this using MATLAB native function/properties.
0 Comments
Answers (1)
Jan
on 29 Sep 2015
Does anyone know if Mathworks allows to get the current ColumnWidth values yet?
An answer is not trivial. Do you mean "The Mathworks" or "Matlab"? While I'm sure that the company will allow this freely, Matlab does not have the power to do this directly. When you cannot use 3rd party code, the only way I see is a screenshot and counting pixels between the bars. This can be done with "native Matlab functions", but I would hesitate to implement it.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!