Hello, by looking at the code of ListView I get the feeling that it does not support the updating of data out of the box.
I would suggest to use qx.ui.table.Table instead. Changing the data then becomes easy: var tableModel = new qx.ui.table.model.Simple(); var rowData = []; ... fill rowdata array tableModel.setData(rowData); this.table = new qx.ui.table.Table(tableModel); .... // change the data: this.table.getTableModel().setData(alteredRowData); You can find sample code in the demo showcase application. greetings, dimitri mrtn wrote: > > Hello everyone, > > I can create a ListView element by passing two arrays to its constructor. > ListView(var vData, var vColumns). vData for row entries and vColumns to > describe the data structure by means of list rows. > > How do i refresh the data? I want to replace the data with a new array. > There is a method getData() to receive the data I passed to the > constructor at creation time. But there is nothing like setData() to > change the content! > > Thank you, > mrtn > -- View this message in context: http://www.nabble.com/Change-data-of-ListView-tf3966088.html#a11258026 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
