Column Format in UI Table
Mostra commenti meno recenti
I have table array in data of UI table.
There are a few columns in my table:
Num1 Num2 Text
5.2345 4.2345 JN
-> I would like to have only two decimals in the first two columns. What is the best way to pull this of? I would like that data in the UI table remains table array.
Risposta accettata
Più risposte (2)
Navya Seelam
il 27 Set 2019
Hi,
You can use format as shown below.
format bank
table.Data=table.Data % to update the table data to current format
6 Commenti
Klemen Peter Kosovinc
il 30 Set 2019
Navya Seelam
il 30 Set 2019
Hi,
You can try changing the format in the function where you update the table contents.
Klemen Peter Kosovinc
il 30 Set 2019
Navya Seelam
il 30 Set 2019
Can you attach your code?
Klemen Peter Kosovinc
il 1 Ott 2019
Walter Roberson
il 3 Ott 2019
The format command has no effect on graphics. You should follow Ankit's solution
Navya Seelam
il 3 Ott 2019
0 voti
Hi,
The issue can be resolved by passing the data to uitable from cell array rather than table.
3 Commenti
Klemen Peter Kosovinc
il 3 Ott 2019
jesus pacheco
il 11 Gen 2022
@Klemen Peter Kosovinc Hi Bro, I have the same Problem. could you solve it?
Categorie
Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!