필터 지우기
필터 지우기

Can I make a cell in table be editable/non-editable?

조회 수: 30 (최근 30일)
Nimrodb
Nimrodb 2013년 2월 14일
I use guide GUI.
I want to make a cell be editable/non-editable during the GUI's run.
Is it possible?
I want that when user set a specific value to a cell (1,1) - another cell (1,2) will become non editable. (for ex. if forms where you have grayed section that you cannot press/edit)

채택된 답변

Jan
Jan 2013년 2월 14일
You can set the editable property to full columns only.
  댓글 수: 1
Nimrodb
Nimrodb 2013년 2월 15일
ok. can I gray a cell only or again - I need to do this for the whole table?

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2013년 2월 15일
The editable property applies on a column by column basis.
If you wish to work on a cell-by-cell basis, you need to program the cell edit callback so that it detects changes to those cells and restores the values to what they should be.
There might be additional alternatives if you work at the Java level.

카테고리

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