Hi,
please try to use addRowsAsMapArray http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~addRowsAsMapArray regards Sak > Hi, > > Is there anything obviously wrong with this code: > > tablemodel.setColumns(["First", "Second"], ["my", "thing"]); > tablemodel.addRows( > [ > {"my": "test", "thing" : "this"}, > {"my": "another", "thing" : "thing"} > ] > ); > table.setTableModel(tablemodel); > > I get a table with columns First and Second, 2 rows, but the cells are > blank. The code was working when I did not pass the optional second > argument to setColumns() and the data was a simple array with no indices > "my" or "thing": > > tablemodel.setColumns(["First", "Second"]); > tablemodel.addRows( > [ > ["test", "this"], > ["another", "thing"] > ] > ); > table.setTableModel(tablemodel); > > This is using bleeding edge trunk. > > Thanks, > Greg > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel