Working with data in table

조회 수: 4 (최근 30일)
Rupesh Uprety
Rupesh Uprety 2020년 6월 5일
댓글: Ameer Hamza 2020년 6월 7일
I want to insert data in a particular collumn in table in app designer in the form 1,2 and not as 12 for certain cells. How do i do it ? Can anyone help?
Thanks

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 6월 5일
You can use data property to change data of a uitable object
app.UITable.Data{2,3} = '1,2';
It will set 2nd row of 3rd column to '1,2'.
  댓글 수: 2
Rupesh Uprety
Rupesh Uprety 2020년 6월 7일
i want to do it for all the cells in a particular column and i want the data to be entered by the user themselves. How do i do that. ????
Ameer Hamza
Ameer Hamza 2020년 6월 7일
In the app designer, you can set the column of the uitable to be editable in the component browser panel. It will allow the user to change the cells of the table directly.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by