Creating non editable uitable
6 次查看(过去 30 天)
显示 更早的评论
Hello,
Is there any way to disable the editable property in uitable. I am using matlab 7.0.1 (R14).
Thanks in advance.
0 个评论
采纳的回答
更多回答(1 个)
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
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!