Adding uitable checkboxes to certain cells or rows instead of columns

71 次查看(过去 30 天)
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!

回答(2 个)

Geoff Hayes
Geoff Hayes 2015-4-4
  1 个评论
Christian Staifen
Thank you very much for your answer. Unfortunately it does not solve my problem because I only want to add the checkboxes to certain cells or rows instead of full columns.

请先登录,再进行评论。


Prof. X
Prof. X 2023-4-29
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by