Adding uitable checkboxes to certain cells or rows instead of columns
Mostrar comentarios más antiguos
Hello,
I am using uitable to display data in a table. Is there any option to add checkboxes to certain cells or rows instead of columns?
Best regards!
Respuestas (2)
Geoff Hayes
el 4 de Abr. de 2015
1 voto
Christian - see Azzi Abdelmalek's answer from http://www.mathworks.com/matlabcentral/answers/65163-how-can-i-create-an-uitable-with-one-column-as-strings-and-second-column-as-checkboxes/
1 comentario
Christian Staifen
el 5 de Abr. de 2015
Prof. X
el 29 de Abr. de 2023
0 votos
Very late but stumbled across this answer from the MathWorks Support Team that seems to answer this question well: https://www.mathworks.com/matlabcentral/answers/423072-checkboxes-in-row-of-uitable
While the Link only refers to the row beneath the variable names, I was able to modify the data property of the uitable by inputting a logical value at a random location within the table and change cell from a number to logical checkbox.
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!