On Thu, Dec 29, 2011 at 14:05, Scott Chapman <[email protected]> wrote:

> Top part of debug output. Even at 2 levels, it's a huge amount of output.
> How much of it do you want?
>
> 019940 qx.dev.Debug: event data Array, length=7:
> ------------------------------------------------------------ 0: Object
> $$hash: 929-0 __array: Array 0: 2011-12-29 1: 7.6 2: 0:03:39 3: 10:15:08
> length: 4 0: Please use 'toArray()' to see the content. $$initialized: true
> $$user_autoDisposeItems: true __userData: Object idBubble-928-0: Array ***
> TOO MUCH RECURSION: not displaying *** classname: qx.data.Array name:
> qx.data.Array basename: Array constructor: [Class qx.data.Array]
> $$init_autoDisposeItems: false
>

This is adequate. It shows that we have a qx.data.Array containing 7
qx.data.Arrays.

I think if you change this:

jsonFetcher.addListener(
  "loaded",
  function(e)
  {
    qx.dev.Debug.debugObject(e.getData().toArray(), "event data", 2);
    var tData = e.getData();
    __tableModel.setData(tData);
  },
  this);

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.)

Cheers,

Derrell
------------------------------------------------------------------------------
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