Hi,

I prefer to use qx.data.marshal.Json.createModel to turn json data into a
model. Then you can get the array objects and put them into table rows: 

data =  qx.data.marshal.Json.createModel(yourJson);
getArrayObject.forEach( addRow, data ); 
tableDM.setData( rows );

var addRow = function (obj) { 
  rows.push(qx.lang.Object.getValues(obj)); 
};

Se more examples here:

http://qooxdoo.678.n2.nabble.com/Json-and-Table-models-td5803644.html

I hope it helps you.

Ana Rita

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Object-of-qx-util-Json-parse-tp6433315p6434619.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to