can a user enter his data in a table GUI?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone, I have used a table in my GUI for inputs (since my inputs can vary from 2 to 20), but when I run the program, I can't enter values in the table. So, I wonder if this is at all possible? one more question. I need to change the colors of the table in a manner other than odd and even. Is there a way to do this?
0 Kommentare
Antworten (1)
Walter Roberson
am 22 Dez. 2015
Bearbeitet: Walter Roberson
am 22 Dez. 2015
If you are using uitable() you need to set ColumnEditable to 'on' for the columns you want the user to change.
With regards to cell color see http://uk.mathworks.com/matlabcentral/answers/260515-how-to-change-charactors-of-the-table-which-is-made-by-uitable-by-codes
Note that if you color entries in this way (the only way available other than going to the Java level) then when the user goes to edit the cell they are going to get the HTML code to edit.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!