On Thu, Dec 29, 2011 at 12:32 PM, Derrell Lipman <
[email protected]> wrote:
>
> to the following, it should probably work:
>
> jsonFetcher.addListener(
> "loaded",
> function(e)
> {
> var tData = e.getData();
> var nativeData = [ ];
> tData.toArray().forEach(
> function(row)
> {
> nativeData.push(row.toArray());
> });
> qx.dev.Debug.debugObject(nativeData, "event data", 3);
> __tableModel.setData(nativeData);
> },
> this);
>
> The debugObject should now simply display a native array of arrays, and
> the table should display properly. (You had something similar to this in an
> earlier post. If this works, you might look to see what's different about
> this than what you'd done.)
>
> That worked. Big thanks!
I'm not clear on the use of "delegates". Can I make a delegate do this as
in :
qx.data.store.Json(null, delegate = foo());
... and have foo do this?
Thanks!
Scott
------------------------------------------------------------------------------
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