Adding uitable checkboxes to certain cells or rows instead of columns

조회 수: 49 (최근 30일)
Christian Staifen
Christian Staifen 2015년 4월 3일
답변: Prof. X 2023년 4월 29일
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
Christian Staifen 2015년 4월 5일
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에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by