フィルターのクリア

Uitable selection focus

2 ビュー (過去 30 日間)
Etienne
Etienne 2011 年 7 月 22 日
Hi Folks
I am trying to implement a uitable and am having some odd problems with setting the focus. I am searching a string array with regexp and trying to filter this array. After thsi I want to update the uitable. At the end I want to set the focus to the first line of the table. I am trying to do this with the following line
gui.hParamTableJavaHandle.changeSelection(0,0,false,false);
This all works when I step throught the debugger, but when I run without the debugger the first line is not updated. I have no idea why this is.
Regards
Etienne

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 7 月 22 日
Speculating here: perhaps you need to drawnow() after the update?

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by