Column width in uitable
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
if I press button, then new figure appears with uitable. Column width is always the same. How can I change column width? Or if I change column width manually by mouse and then I press button, then I wont to have width from mouse.
Thank you
Me code:
t = uitable('Parent',f,'Data',result,'Position',[10 10 630 400],'ColumnWidth','auto','RowName',rnames,'Columneditable',coleditable,'ColumnFormat',{'char', 'char', 'char', 'char', 'char', 'char'});
0 Commenti
Risposte (1)
Jan
il 12 Set 2013
I'm not sure if I understand your question.
You can change the columnwidth by not setting it to 'auto' but manually by a cell, which contains the width values. See http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brgovhi.
You cannot obtain the changed width values as far as I know.
11 Commenti
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!