There is no data binding controller for the table available right now (but 
hopefully soon).

Right now, you have to create a data binding controller on your own (listen to 
the rest store events and update your table models).

Tino

Am 28.12.2011 um 03:24 schrieb Scott Chapman:

I think I have the REST Resource configured correctly here:

    var tableREST = new qx.io.rest.Resource({
        get: {
            method: "GET",
            url: "/avg_checkin_times/{hostname}"
        }
    });

    tableREST.configureRequest(function(req, action) {
            req.setAccept("application/json");
        });

    tableREST.get({'hostname': 'schapman-desktop'});

    var store = new qx.data.store.Rest(tableREST, "get");

Here's my table:

    // table model
    var tableModel = new qx.ui.table.model.Simple();
    tableModel.setColumns([ "Date", "DelayAvg", "First", "Last" ]);
    tableModel.setData(createRandomRows(1000));

    // table
    var table = new qx.ui.table.Table(tableModel).set({
        decorator: null
    });

How do I make the data from the tableREST.get end up in the table?

Thanks!
Scott


The content of this email does not necessarily represent the views/opinions of 
my employer, Masco Corporation. If you are not the intended recipient of this 
email, please let me know since that means it got to you in error. Please 
delete it from your computer system since it may contain privileged or 
confidential information intended for someone else.

Masco does its best to eliminate viruses and other malicious software in emails 
and attachments coming through its servers and so cannot be held responsible if 
malicious software is inadvertently imbedded in this communication.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. 
appdeveloper.intel.com/join<http://appdeveloper.intel.com/join>
http://p.sf.net/sfu/intel-appdev_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Tino Butz
Mobile Architect

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-4488
[email protected]<mailto:[email protected]>

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert Hoffmann, 
Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to