To initialize DataProcessor and attach it to the grid, the following two commands can be used:
var dp = new dataProcessor(url) dp.init(mygrid)
Where: url - a relative or absolute path to a server side component of the dataprocessor.
mygrid - a dhtmlxGrid object.
By default the dataprocessor will be initialized in the auto update mode, which means that after each change in the grid it will send data to the server. In some cases it makes sense to use the manual update mode:
dp.setUpdateMode("off") ... dp.sendData();
In such case the dataprocessor will store the information about all changes in the grid, and will send them to the server only after sendData method is executed.