Hello,
I just downloaded the GPL version and I am playing with the grid.
How do i send all the grid’s content to the server using a form?
Does the grid have an internal form?
How do I get all the grid’s content and send it to the server?
Do I have to create an external Form and just before submiting get all the values from the grid and use a hidden control?
I have something like this:
…
function save_data(){
document.forms[0].data.value=somethingToGetTheModifiedValuesFromTheGrid(XXXXX);
document.forms[0].Submit();
}
…
-----------------------------
How do i send all the grid’s content to the server using a form?
Can be done through form integration extension
dhtmlx.com/docs/products/dhtmlxG … t_htmlform
>>Does the grid have an internal form?
Grid has not any internal form, but allows inline editing of cell values.
>>How do I get all the grid’s content and send it to the server?
Can be done through serialization ( PRO version supports serialization to XML and CSV, standard to CSV only )
>>Do I have to create an external Form and just before submiting get all the values from the grid and use a hidden control?
Grid can done it automatically through above mentioned extension.
Api of grid allows to get data so this scenario can be implemented as well.