DataProcessor Not sending UserData


Hi, I recently updated to the new grid 1.6 and now have an issue with the dataprocessor. It is no longer sending the userdata in the POST.



Only Data in POST is shown Below …



ids    save

save_Details    Please Enter Save Details. Double Click under Name to give Saved State a unique ID

save_Name    My Data

save_gr_id    save





Thanks,



Dave



Grid Code is



mygrid = new dhtmlXGridObject(‘saveGrid’);

mygrid.enableMultiline(true);

mygrid.setSkin(‘modern’);



mygrid.setHeader(“Details,Name”);

mygrid.setColumnIds(“Details,Name”);

mygrid.setInitWidths(“150,*”)

mygrid.setColAlign(“left,left”)

mygrid.setColTypes(“ro,ed”);

mygrid.setColSorting(“str,str”);



myDataProcessor = new dataProcessor("?action=save_state");

myDataProcessor.setUpdateMode(“off”);

myDataProcessor.setTransactionMode(‘POST’,true);

myDataProcessor.enableDataNames(true);

myDataProcessor.init(mygrid);





//Prepare the XML String



xml_out = ‘<?xml version="1.0"?>’;

xml_out = xml_out + ‘’;

xml_out = xml_out + ‘save_state’;

xml_out = xml_out + ‘’;

xml_out = xml_out + ‘’;

xml_out = xml_out + ‘Please Enter Save Details. Double Click under Name to give Saved State a unique ID’;

xml_out = xml_out + ‘’;

mygrid.init();

mygrid.loadXMLString(xml_out);




Problem caused by not parsing userdata from initial XML, updated build will be available in few days, for now, to restore functionality you can use next patch



dhtmlx.com/docs/products/kb/inde … es&s=patch