> Actually, I hadn't changed anything from a map to an array; I had 
> just changed which "index" (property of the map) was used to
> reference the map. I changed it from the string ID to the column
> number.  However, I now see that the data provided to the Remote
> data model is intended to be different than the data passed to the
> Simple data model.  I had assumed (incorrectly) that an efficient
> array of arrays would be passed from the server to the client...
> just as an array of arrays is passed to the Simple data model.  No
> such luck, I see.  Instead, we need to pass the column id with each 
> and every value.  Mighty inefficient and bandwidth wasteful, but I 
> suppose for the small amount of data on each request, it's not a
> huge issue.

As I've said in the thread I referenced before, it's very simple to pass
an array and recode it in the client to a dict. I do this here and
haven't noticed a big hit on speed. As it works on blocks of 50 or so
items at once there won't be a big impact at any given instant.

Having said that I use one character column IDs!

Also, being able to store other information with the row is great for my
custom row renderer and for other things that hang off the table, like
menus which depend on row content (but not necessarily visible row
content, like permissions).

Hugh

-------------------------------------------------------------------------
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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to