Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Garfield on Jan 12, 2008 05:01
open dhtmlx forum
[dhtmlxGrid]Question for DataProcessor


I have some question about DataProcessor(with dhtmlxGrid)

(1) As for 'dataProcessor.sendData()', Could it synchronize call?
(2) While the processing of dataProcessor, other form's POST be blocked or waited?
For example.
add/delete many rows.

===================
...
<div id="gridbox" width="100%" height="250px" style="background-color:white;overflow:hidden"></div>

<!-- other form -->
<form action="" method="post">
<input type="text" name="val">
<input type="submit">
</form>
...
===================

Thank you.
Answer posted by Support on Jan 14, 2008 02:35
>>(1) As for 'dataProcessor.sendData()', Could it synchronize call?
It can be switched to sync. way, by next code modification
dhtmlxdataprocessor.js, line 192
    var a2=new dtmlXMLLoaderObject(this.afterUpdate,this,true);
need to be changed as
    var a2=new dtmlXMLLoaderObject(this.afterUpdate,this,false);


>>(2) While the processing of dataProcessor, other form's POST be blocked or waited?
No. The dataProcessor doesn' block any other form on page from submiting its data while syncing in progress.