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 mytablef = figure;d = randi(100, 7, 3);t = uitable(f,'Data',d,'ColumnWidth',{50},... 'ColumnEditable', [true true true]);set(t, 'CellEditCallback', 'get(t,''Data'')');
Best Answer