Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Pravu Mishra on Nov 03, 2009 03:46
open dhtmlx forum
Sending all the updated/new/deleted records at a time to the server

Hi there,

The myDataProcessor.sendData() method does not send all the records(modified/new/deleted) at a time to the server. It sends one record at a time to the server.

Is there a way by which the modified/new/deleted records in a page can be sent to the server at a time.


Thanks and Regards,
Pravu Mishra.
Answer posted by Alex (support) on Nov 03, 2009 05:22
Hello,

it's possible to send all data at once. Please, see the article http://www.dhtmlx.com/dhxdocs/doku.php?id=dhtmlxdataprocessor:data_sending_modes for details
Answer posted on Nov 03, 2009 05:36

Thanks,

Could you please send me a sample server side java code for reading the data( all rows) from request object?

Thanks and Regards,

 

 

 

Answer posted by Alex (support) on Nov 03, 2009 05:46
You can use connectors. In this case all changes are sent at once and processed in the server automatically.

Java connectors with samples can be downloaded here:

http://www.dhtmlx.com/docs/products/dhtmlxConnector/index.shtml 
Answer posted on Nov 03, 2009 05:55

Hi Alex,

My question was regarding dhtmldataprocessor and I am using this in my screen.

Please let me know whether dhtmldataprocessor supports sending all the modified/new/deleted records at a time to the server or not.

In case it supports I request you to send me a sample server side java code for reading from the request object.

Thanks and Regards,

Pravu Mishra.

 

Answer posted by Alex (support) on Nov 03, 2009 06:23
>> Please let me know whether dhtmldataprocessor supports sending all the modified/new/deleted records at a time to the server or not.

Yes, it does

>> In case it supports I request you to send me a sample server side java code for reading from the request object.

There is not a ready sample.