Hello,
Sorry not understand what you mean.
The row in jqGrid is not a xml, but html.
To make what you want, you should extract the desired row using a
method getRowData and make your own xml string, (looping the array
data) that will be posted to the server.

Regards
Tony


On Mar 13, 4:54 pm, Shashank Tilwalli <shashank.tilwa...@hughes.com>
wrote:
> I want to manipulate the xml after the user has modified some values on the 
> grid. Say for instance, when user clicks on the grid row, a modal window 
> opens where user makes some changes. On Clicking save, I want to extract the 
> XML of the grid row & send it to the server.
>
> Shashank
>
> ________________________________________
> From: jquery-en@googlegroups.com [jquery...@googlegroups.com] On Behalf Of 
> Tony [t...@trirand.com]
> Sent: Friday, March 13, 2009 6:05 AM
> To: jQuery (English)
> Subject: [jQuery] Re: JQuery XML Manipulation
>
> Hello,
> You can use a datatype parameter as function. This way you can
> manipulate the xml before send them to the grid.
> Refer to the documentation and examples on how to do this.
>
> Regards
> Tony
>
> On Mar 13, 1:10 am, stilwalli <shashank.tilwa...@hughes.com> wrote:
>
> > Hello Developers,
>
> > I am usingjqGridplugin of JQuery for displaying data in a grid. I am
> > wanting to manipulate the data xml dynamically. For instance say I have an
> > xml like
> > <data>
> > <emplist>
> > <employee>
> > <empcode>10</empcode>
> > <empname>raj</empname>
> > <employee>
> > <employee>
> > <empcode>20</empcode>
> > <empname>caj</empname>
> > <employee>
> > </emplist>
> > </data>
>
> > Now when I say add row, I would like to add an data to the row (which I am
> > able to do it). But I am not able to get the updated xml. For instance If I
> > add data with empcode as 30 & name as abc
>
> > <data>
> > <emplist>
> > <employee>
> > <empcode>10</empcode>
> > <empname>raj</empname>
> > <employee>
> > <employee>
> > <empcode>20</empcode>
> > <empname>caj</empname>
> > <employee>
> > <employee>
> > <empcode>30</empcode>
> > <empname>ABC</empname>
> > <employee>
>
> > The idea is to get the maniupulated xml data & then sent it to the server...
> > Please help
> > </emplist>
> > </data>
>
> > --
> > View this message in 
> > context:http://www.nabble.com/JQuery-XML-Manipulation-tp22448894s27240p224488...
> > Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to