Deleting Data of UITable in App Designer

4 ビュー (過去 30 日間)
piston_pim_offset
piston_pim_offset 2024 年 2 月 23 日
コメント済み: piston_pim_offset 2024 年 2 月 24 日
I am trying to delete the data written on the UITable, and then make it to start from the first row when l want to write the data to the table. Now, l can delete the data but it starts to write from the row where it ended. How do l fix it?
  2 件のコメント
Adam Danz
Adam Danz 2024 年 2 月 23 日
You'll need to share the bit of code that assigns the data to the UITable. I'm guessing that you're padding the uitable and then adding the data to the end rather than starting from row 1.
piston_pim_offset
piston_pim_offset 2024 年 2 月 24 日
Sorry for late response.
It was exactly like that! When l checked my code again, l found a variable is assigned to the rows of the table and it continues to grow by 1. Then simply l set this value to zero and the problem is gone.
Thank you for your comment.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by