Form submission


Hi



I have a grid. I want to submit all the data in the grid at once. Is there a way i can get all the data in an array or something? currently i see there is an API to get list of row ids. Is there something similar to select all the row data at once?



 



Thank you

There is no api to get all data at once as js structure
You can
a) serialize all data back to XML
    var xml = grid.serialize();
b) itterate through grid to access data
    grid.forEachRow(function(id){
       grid.forEachCell(id,function©{
             alert(c.getValue());
        })
    });

Also grid has native support for integration inside FORM
    dhtmlx.com/docs/products/dhtmlxG … 6394447000