Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by W.N. Pew on Mar 31, 2009 16:21
open dhtmlx forum
Dhtmlxgrid in form

I have a form that contains a dhtmlgrid. I can submit it but I'm unsure as to what the php script will be receiving. How do I access the data sent from the grid. The intention here is to insert all of the grid rows into a mySql table.

Is there a sample of a php script to handle this in the documentation? If not, can you point me in the right direction?

Thanks!
Answer posted by dhxSupport on Apr 01, 2009 03:42

We have extention which allow you send grid data as a part of a form submitting. 

To enable form integration you need:

  * Include ext/dhtmlxgrid_form.js
  * Place grid's container inside the FORM tag.

This functionality is availbe in PRO version only. Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Form_integration.html#grid_art_htmlform

And sample here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/interaction_other_components/pro_form.html