Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Problem with insertRow in Matlab2012b
Posted:
Mar 7, 2013 11:12 AM
|
|
Dear Community,
I have a Problem with inserting a new row in a uitable in Matlab2012b . I tried it as i unterstand it in chapter 4.1.6 in Yair Altmans book "Undocumented Secrets of MATLAB-Java Programming."
% get the handle struct from the figure GdlConfigDlgHandles_st = guidata(hGdlConfigDlg); % get the table handle hTable_ja = GdlConfigDlgHandles_st.tbl_hTable_ja; %get the underlying java table handle jScroll_ja = sc_findjobj(hTable_ja); jTable_ja = jScroll_ja.getViewport.getView;
jTable_ja.getModel.insertRow(newRowIdx, newRowData);
But the function 'insertRow' does not exists. Is this a new problem of the matlab 2012b version? Has the Java-API changed? If yes: Please explain to me, how i can fix this. I dont find any machting api-function :-/
Thanks and greetings D.B.
|
|
|
|