Borrar filtros
Borrar filtros

Variable number of columns - uitable

3 visualizaciones (últimos 30 días)
Mihai
Mihai el 5 de Abr. de 2012
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.

Respuestas (1)

Image Analyst
Image Analyst el 5 de Abr. de 2012
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);

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by