Til Schneider schrieb:
I found probably another bug in the table. When i delete the whole data from
the table ... the following error comes: ...
    

I will look at this when the namespaces branch in back in the trunc.
  
Here is a possible solution for this problem(see patch in the attachment).

Best Regards,

alex.d



-------------------------------------------------------------------------
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

  

Index: SimpleTableModel.js
===================================================================
--- SimpleTableModel.js (revision 3857)
+++ SimpleTableModel.js (working copy)
@@ -181,7 +181,10 @@
 
   // Inform the listeners
   if (this.hasEventListeners(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED)) {
-    var data = { firstRow:0, lastRow:rowArr.length - 1, firstColumn:0, 
lastColumn:rowArr[0].length }
+               var lastColumn = rowArr[0] ? rowArr[0].length : 0;
+               var lastRow = rowArr.length ? rowArr.length - 1: 0;
+               
+    var data = { firstRow:0, lastRow: lastRow, firstColumn:0, lastColumn: 
lastColumn };
     this.dispatchEvent(new 
qx.event.type.DataEvent(qx.ui.table.TableModel.EVENT_TYPE_DATA_CHANGED, data), 
true);
   }
 
-------------------------------------------------------------------------
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