Hello,
currently, the Table widget does not support data binding. (But we are
working on it Bug 3171 [1]) So using the classes from the qx.data namespace
will not help you out in that case. If you are still interested in the data
binding, take a look at an introduction presentation [2] I once did. It can
give you a quick overview of the ideas of qooxdoo data binding.
As the file is local, you don't have any cross domain problems so you can
use XHR to load the data. 
Something like this should work for you (part of the json data store):
var req = new qx.io.remote.Request(url, "GET", "application/json");
req.addListener("completed", this.__requestCompleteHandler, this);
req.addListener("changeState", function(ev) {
  this.setState(ev.getData());
}, this);
req.send();

Best,
Martin


[1] http://bugzilla.qooxdoo.org/show_bug.cgi?id=3171
[2] http://www.slideshare.net/wittemann/data-binding-in-qooxdoo
-- 
View this message in context: 
http://n2.nabble.com/Loading-Table-from-local-JSON-File-tp4450668p4452676.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to