Effacer les filtres
Effacer les filtres

Creating non editable uitable

4 vues (au cours des 30 derniers jours)
Subhiksha
Subhiksha le 24 Sep 2013
Hello,
Is there any way to disable the editable property in uitable. I am using matlab 7.0.1 (R14).
Thanks in advance.

Réponse acceptée

Jan
Jan le 24 Sep 2013
You can check, which properties are available in your version:
h = uitable
get(h)
  1 commentaire
Subhiksha
Subhiksha le 25 Sep 2013
Thank you.

Connectez-vous pour commenter.

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 24 Sep 2013
Modifié(e) : Azzi Abdelmalek le 24 Sep 2013
h = uitable('Data',data, 'ColumnEditable',false)
If you are using a guide
set(handles.uitable1, 'ColumnEditable',false)
  2 commentaires
Jan
Jan le 24 Sep 2013
[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 le 24 Sep 2013
@Samyuktha: Please post comments in the comment section. Thanks.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by