Hola Pedro,

You're not changing the data in the table.
You're just assigning a new object to a variable.
Use instead:
  myTable.setData([])


Pedro Del Gallego wrote:
> 
> Hello,
> 
> Im try to update a table retreiving the info using a async call. I
> used the function update().
> 
> function radioEvent()
>               {
> 
>                   ......
>                   var cListLoadReq = new qx.io.remote.Rpc
> ("http://localhost/acweb/JSON";, "org.ac.services.qx.CRMService");
>                       var cListLoadCall = cListLoadReq.callAsync (function 
> (result, e, id)
>                       {
>                               if (e != null)
>                               {
>                                       //alert ("Kundenliste konnte nicht 
> geladen werden: " + e);
>                               }
>                               else
>                               {       
>                                       rowData = [];
> 
>                                         // Some commented code
> 
>                                       table.updateContent ();                 
>                                         
>                                       alert("Do it ");
>                               }
>                       }
>                       , "getCustomers", isAll);       
> }
> 
> If im not worng, this must be remove all the data from the table not?.
> In the roundtrip to the server all is ok. And the alert is showed.
> What im doing wrong?
> 
> I have a list an i do the same. And in the list is working.
> 
> Thank you.
> 
> 
> -- 
> -------------------------------------
> Pedro Del Gallego Vida
> 
> Email              :   [EMAIL PROTECTED]
> IM Jabber       :   [EMAIL PROTECTED]
> Telefono VoIP   :   pedro.delgallego in Skype.
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-update-a-table---tf2582979.html#a7200605
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to