how to submit dhtmlxgrid details on submitting jsp form

i have a grid on a jsp page inside a jsp form, and i am adding/removing row to/from a grid.
Now after manipulating(add/remove rows) the grid i want to submit the grid details on submitting the jsp form.
Please suggest, how can this be done.

Here you can find the example of integration of Form and dhtmlxgrid: … _form.html