Variable number of columns - uitable
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
I am building a GUI using GUIDE where data collected using instrument control is displayed in a table (I'm using uitable). I would like the user to be able to select which data is displayed using checkboxes, along with its corresponding column name. Do you guys have any suggestions?
So for example, if only 2 checkboxes are checked, there will only be 2 columns in the table, but with the correct titles.
댓글 수: 0
답변 (1개)
Image Analyst
2012년 4월 5일
I think you'd have to make up a new data table in the callback of the checkboxes and then send that datatable to the uitable control.
set(handleToTable, 'data', tableData);
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!