Form serialization submit


I’m trying to submit the grid serialization via form with the mygrid.submitSerialization(true) function but I’m not entirely sure how it is supposed to be used. Can anyone provide an example of how this would be used?


Still struggling with this… any help is appreciated!

a) grid’s container must be inside the form
b) dhtmlxgrid_form.js need to be included
c) during grid’s serialization grid.submitSerialization(true) need to be called

After that , submitting the form ( by submit button ) will send data to server , including serialized grid.

If you are sending form by js code ( myform.submit() ), you need to use

grid.parentFormOnSubmit(); myform.submit()