How do I edit or delete the data in a uitable?

2 visualizaciones (últimos 30 días)
slumberk
slumberk el 8 de Feb. de 2011
I have a figure with a uitable. I have 4 row and 3 columns.
When I go to the property inspector, I can't delete row number 4. How can I delete row number 4?

Respuesta aceptada

Vieniava
Vieniava el 10 de Feb. de 2011
You can always "physically" delete row-data:
A=rand(4,3);
th=uitable('Data', A);
A(4,:)=[];
set(th, 'Data', A);

Más respuestas (1)

slumberk
slumberk el 11 de Feb. de 2011
@vieniava
thx a lot =)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by