Column Format in UI Table
显示 更早的评论
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.
采纳的回答
更多回答(2 个)
Navya Seelam
2019-9-27
Hi,
You can use format as shown below.
format bank
table.Data=table.Data % to update the table data to current format
6 个评论
Klemen Peter Kosovinc
2019-9-30
Navya Seelam
2019-9-30
Hi,
You can try changing the format in the function where you update the table contents.
Klemen Peter Kosovinc
2019-9-30
Navya Seelam
2019-9-30
Can you attach your code?
Klemen Peter Kosovinc
2019-10-1
Walter Roberson
2019-10-3
The format command has no effect on graphics. You should follow Ankit's solution
Navya Seelam
2019-10-3
0 个投票
Hi,
The issue can be resolved by passing the data to uitable from cell array rather than table.
3 个评论
Klemen Peter Kosovinc
2019-10-3
jesus pacheco
2022-1-11
@Klemen Peter Kosovinc Hi Bro, I have the same Problem. could you solve it?
类别
在 帮助中心 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!