How to make table editable

f = figure('Position',[200 200 400 150]);
dat = rand(3);
cnames = {'X-Data','Y-Data','Z-Data'};
rnames = {'First','Second','Third'};
t = uitable('Parent',f,'Data',dat,'ColumnName',cnames,...
'RowName',rnames,'Position',[20 20 360 100]);
How to make this table editable

답변 (1개)

Matt J
Matt J 2013년 3월 28일

2 개 추천

set(t,'ColumnEditable',true(1,3))

댓글 수: 3

Matt J
Matt J 2013년 3월 28일
편집: Matt J 2013년 3월 28일
The 'ColumnFormat" property also has some features that control editability.
Arun Badigannavar
Arun Badigannavar 2013년 3월 28일
How to send that edited data back to workspace
Matt J
Matt J 2013년 3월 28일
get(t,'Data')

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

카테고리

도움말 센터File Exchange에서 App Building에 대해 자세히 알아보기

태그

질문:

2013년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by