Jayaram | 1 Feb 2007 01:57
Picon

Re: FilteringData, populate from server

Show me your JSON data, at least parts of it.

----- Original Message ----- 
From: "Anthoni Gardner" <developer <at> peermail.org>
To: <dojo-interest <at> dojotoolkit.org>
Sent: Wednesday, January 31, 2007 6:49 PM
Subject: [Dojo-interest] FilteringData, populate from server

>
> Hello there,
>
> Totally new to Dojo, but so far what I've seen its superb.
> I am confident with Javascript but not a guru and usually have to refer to
> my books that I bought.
>
> I am having some serious difficulty getting data from server into the 
> filter
> table.
> I think its the JSON that is letting me down on this, because I can
> construct the bare table, just not get data inside it. The server back end
> is written in Delphi (I own the code and wrote it, so I can ammend it). I
> query my database and I've a pascal unit that is *supposed* to convert 
> that
> data into a JSON object. Looking at the JSON specs it seems to be right.
> However I am thinking that the data the filter table is expecting is
> probably like a JSON list or something.
>
> Do not have a clue how this would look like.
> I used static data, just to try, and stuck in this
> {data:[{Id:100,Name:"Brandon Smith"},{Id:101,Name:"Someone Special"}]}
(Continue reading)

Anthoni Gardner | 1 Feb 2007 02:04

Re: FilteringData, populate from server


Hi,

At moment I dont have any JSON data.
All I attempted to do was call a function on my server passing a param of
count like
/GetData?count=4

This would loop around 4 times and "build" the JSON text string

However, totally unaware of the format the table takes I am not sure what
its supposed to look like.
If you can show me an example JSON structure with 4 elements consisting of
ID, Name, Date

I then should be able to construct that structure on my server and it will
be solved (cross fingers).

Show me your JSON data, at least parts of it.

--

-- 
View this message in context: http://www.nabble.com/FilteringData%2C-populate-from-server-tf3152099.html#a8741262
Sent from the Dojo mailing list archive at Nabble.com.

_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest <at> dojotoolkit.org
http://dojotoolkit.org/mailman/listinfo/dojo-interest

(Continue reading)


Gmane