On Wed, Sep 17, 2008 at 2:19 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:

> Derrell,
>
>   When our _loadRowData method calls _onRowDataLoaded, it is looking for a
> map file. Do you know if that file has to be in JSON format or can it take a
> standard JavaScript array? Currently, I am loading all my tables with
> JavaScript arrays and it works great. I would hope that it will continue to
> work as I really don't want to modify the server code if I don't have to.
>

Hi Jim.  The parameter to _onRowDataLoaded is defined like this:

     * @param rowDataArr {Map[]} the loaded row data or null if there was an
error.

So it's not looking for a map, it's looking for an array of maps.  Each map
is one "row" of data, in your data model format, I believe, and index 0 of
the array should be the data for row firstRow as passed to _loadRowData().

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to