필터 지우기
필터 지우기

fill table with data from text box

조회 수: 1 (최근 30일)
Abdullah Duraid
Abdullah Duraid 2019년 3월 22일
댓글: Abdullah Duraid 2019년 3월 23일
hello
can any one help me please......
i'm working on gui program that contain table , 2text box and pushbutton
i will enter the first row data from the tow textboxes and then enters the new second row data from the same text boxes ....
how can i make it with out updating the data in same row??

채택된 답변

Kevin Phung
Kevin Phung 2019년 3월 22일
I am assuming you are using the uitable, you can just directly edit the data on the table by setting the ColumnEditable property to 1 for the appropriate columns.
  댓글 수: 3
Kevin Phung
Kevin Phung 2019년 3월 23일
the uitable has a 'CellEditCallback' that you can assign a callback function to, and you can have that function perform the math processes. let me know if you have any more questions!
Abdullah Duraid
Abdullah Duraid 2019년 3월 23일
The program depends on inserting two numbers into two text boxes. When I press the pushbutton, the two numbers are combined and displayed in the first row of the table. When I enter two other numbers in the text boxes and press the pushbutton again, the new resolt is displayed in the second row of the table and etc. But the problem is that the new resolt replaces the old resolt in the first row What’s the code that allow me to set data in second row then thired etc....

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by