Mark -

You can make your backend code take whatever you like. The HTTPService.send will just post to a URL that you specify (based on url property). You can then pass params... here is an example.

var params:Object = new Object();
params.changedItemID = 1;
params.name = "New Name";
myHttpService.send(params);

on the backend you can then just parse the request params to get the changed data and commit them to your DB etc.

hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



markgoldin_2000 wrote:

But I am not sure what exaclty I need to provide to the send method
to post data back to server.
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>, Scott Melby <[EMAIL PROTECTED]> wrote:
>
> Just re-read this and realized I may have mis-understood the
question
> :) If you want to save data from grid back to server after user
changes
> it, take a look at DataGrid.itemEditEnd event.
>
> hth
> Scott
>
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com <http://www.fastlanesw.com>
>
>
>
> Scott Melby wrote:
> >
> > Is there a reason that you can't use SharedObject to save the
grid
> > size, etc. on the client side?
> >
> > hth
> > Scott
> >
> > Scott Melby
> > Founder, Fast Lane Software LLC
> > http://www.fastlanesw.com <http://www.fastlanesw.com>
> >
> >
> > markgoldin_2000 wrote:
> >>
> >> I am using HTTPService to bring data from server. My DataGrid
data is
> >> an xml. In order to save do I need to convert DataGrid data
before
> >> sending it back to the server?
> >>
> >> Thanks
> >>
> >
>

Reply via email to