Why CellEditCallback of Uitable can't get data of the table in a function?
Mostrar comentarios más antiguos
It works perfect without the first row. But in a function,it cannot get data when cell is edited. The Command Window show that "Error using handle.handle/get Invalid or deleted object.
Error while evaluating uitable CellEditCallback "
function mytable
f = figure;
d = randi(100, 7, 3);
t = uitable(f,'Data',d,'ColumnWidth',{50},...
'ColumnEditable', [true true true]);
set(t, 'CellEditCallback', 'get(t,''Data'')');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!