Creating non editable uitable

조회 수: 6 (최근 30일)
Subhiksha
Subhiksha 2013년 9월 24일
Hello,
Is there any way to disable the editable property in uitable. I am using matlab 7.0.1 (R14).
Thanks in advance.

채택된 답변

Jan
Jan 2013년 9월 24일
You can check, which properties are available in your version:
h = uitable
get(h)

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 24일
편집: Azzi Abdelmalek 2013년 9월 24일
h = uitable('Data',data, 'ColumnEditable',false)
If you are using a guide
set(handles.uitable1, 'ColumnEditable',false)
  댓글 수: 2
Jan
Jan 2013년 9월 24일
[MOVED from answer section] Samyuktha wrote:
I already tried it and got the following error:
Error using ==> uitable Unrecognized parameter: ColumnEditable
I guess Matlab 7.0.1 (R14) doesn't have this property...this version doesn't even have the 'Data' as a property.
Jan
Jan 2013년 9월 24일
@Samyuktha: Please post comments in the comment section. Thanks.

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

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by