Re: [qooxdoo-devel] JSON Data into table

2011-06-29 Thread frede
Okay fixed!!! The problem was the html and body tag of the php document! -- View this message in context: http://qooxdoo.678.n2.nabble.com/JSON-Data-into-table-tp6528848p6529024.html Sent from the qooxdoo mailing list archive at Nabble.com. -

[qooxdoo-devel] JSON Data into table

2011-06-29 Thread frede
Hi all, I tried to put some data into a table. I fetch the data with php to a json string: This is now the output: [{"praeparat":"test","menge":"1","einheit":"l"}] Now I try to parse this code, but I get follow error: qx.io.remote.RequestQueue[244]: Request qx.io.remote.Request[243] handler

Re: [qooxdoo-devel] json data into table

2011-02-18 Thread chrjab
Ok, I got it... var test = new qx.data.Array; test = qx.lang.Json.parse(data); ...solved my problem for the first. Thank you anyway. ;-) -- View this message in context: http://qooxdoo.678.n2.nabble.com/json-data-into-table-tp6036150p6039522.html Sent from the qooxdoo mailing list archive at

Re: [qooxdoo-devel] json data into table

2011-02-18 Thread chrjab
Hi, I changed my sourcecode now, but the result is, that the first column of the table is filled with single chars. These are the chars of my string. Can you tell me how to write this string from the request to an array to be able to extract the single values from the string? Example: [1999,34.4

Re: [qooxdoo-devel] json data into table

2011-02-17 Thread Fritz Zaucker
Hi, - make your backend return just data, not the column headers - then use tableModel.setData(data) - read the API at http://demo.qooxdoo.org/1.3.x/apiviewer/#qx.ui.table.model.Simple for info on accessing the table rows/cells, etc Cheers, Fritz On Thu, 17 Feb 2011, chrjab wrote: > > Hi

[qooxdoo-devel] json data into table

2011-02-17 Thread chrjab
Hi there, I'm a qooxdoo newbie and need some help. I try to fill a table with json data. This is my sourcecode: var doc = this.getRoot(); var tableModel = new qx.ui.table.model.Simple(); tableModel.setColumns([ "Jahr", "Wert" ]);