Hugh Gibson schrieb:
>>     this.addEventListener("dataReceived",function(e){
>>       result = e.getData();
>>       if ( result== null )
>>       {
>>         this.setRowCount(null);
>>         this.setRowData([]);
>>       }
>>       else if ( "rowCount" in result )
>>       {
>>         this.setRowCount(result.rowCount);
>>       }
>>       else if ( "rowData" in result )
>>       {
>>         this.setRowData(result.rowData);
>>       }
>>     })
>>     
>
> You have to add "this" as the third parameter to addEventListener - it
> defines the object which will be set to "this" in the event handler
> function. See http://demo.qooxdoo.org/current/apiviewer/#qx.core.Target
>
> Hugh
>   

Hi Hugh,

thanks, but this is not the problem. Both the setRowCount() and the 
setRowData() methods are called with the respective data. setRowData() 
passes the data to the superclass _onRowDataLoaded() method as required 
by the superclass. The data is there - I can get it with 
getTableModel().getRowData() - but it is not rendered...

Christian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to