Hi Jonis, Jonis Maurin Ceará wrote: > Alex Back escreveu: > > Hi Jonis, > > > > a took a short look at your code and you commented line #267 out. Is this > > the problem? > > As far as I see the eventlistener method does only changing a label > > contents. No listview calls are involved. > > This line is commented just for testing. The problem is on "execute" of > btOK12 button. > > Well, event is working fine...add2(result) is called and array is sent > to this 'external' function. Loop is executed and data are ok....lv2 is > updated and lv2.update() is called without any errors but nothing happens > :( Maybe it's a timing problem. You call "update()" twice in a short time. If the ListView is not ready (-> the update of the rendering is not done completly) every next update is ignored. However you do not need to call "update" and "updateSort" in your "execute" event listener. Just clear out the array (-> "ld2") and call the "add2" method. You can comment the lines #224 and #225 out. They are not needed. Maybe this will fix your problem.
cheers, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel