App Designer Table Properties
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am working in App Designer and am noticing a small quark with the UITable properties. I am trying to load data from a text file into the UITable:
function ShowMDRButtonPushed(app, event)
T = readtable('dout1.txt')
t = table2cell(T)
app.MDRTable.Data = t
app.MDRTable.ColumnName = T.Properties.VariableNames
end
It loads the data into the data into the UITable (MDRTable above) but only displays the first 10 columns, of 25, when I run the app. I leave the UITable Properties Configuration box empty (I deleted all the columns). I have noticed when I make the app full screen and then push the button to load the data i get 20 of my 25 columns displayed. The horizontal scroll bar works for both instances.
Any thoughts on how I can have my entire table displayed?
0 comentarios
Respuestas (1)
Mandar Patwardhan
el 31 de Jul. de 2017
I tried to reproduce this in R2017a version of MATLAB. This is an expected behavior. The app loads the data asynchronously as you scroll using the horizontal scroller. If you want to display all (as much data as you can) at once, you can try assigning smaller widths to the individual columns so that more number of columns will be displayed. This is a workaround for a special use case and not a recommended workflow.
0 comentarios
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!