Hi again,

If I never got an event with myReq function (e is undefined) I changed this
function as follow:

k =0;
function myReq (e) {
  for (var j=0; j<30000; j++){
    k++;                                      //<----- nothing to do only
wait for the e
    if (e!=undefined)break
  }
  rowData= [];
  var result = e.getContent();
  var booltype;
  for(var i in result){
    res1 = result[i];
    if(res1.STWANDERSTAND == '0') {booltype = false;} else {booltype =
true;} //boolean tableview
    rowData.push([ res1.STAND_ID, res1.STNAME, res1.STTRACHT, booltype ]);
  }
  table.getTableModel().setData(rowData);
  //alert('Zugriffe: '+ k+'Länge: '+ result.length);
  ...

I give a for loop construct on top (nothing else to do as to loop until the
e is defined).
So I get the datas from my php site. In most of the cases.
The for construct loops ever 1 time (controlled with an alert) before the e
is defined.

Do you know why?

So I get my datas from my php site in most of the cases! 
But if I start the browser new I get no alert box and no datas. Only if I
refresh the browser with F5 I get in the alertbox the hint to 1 loop and the
length of the array.

I get this behavior in all browsers I tested(FF, Chrome, IE and Safari.

Than in chrome I have wrong table rows. In the other browsers I get 7 rows
(length of the array). In crome I get 14 rows. The first 7 are the array
entries and than 7 empty rows. Only in the column with the boolean
defination I get checkboxes (false marked).

This looks not good. In the alertbox I get the correct length of the
array(7).

Do you know why I get in in chrome the double rows?

Thanks again

Josef
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/I-m-frustrated-tp5975196p5977537.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to