Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael Fiala on May 02, 2008 03:53
open dhtmlx forum
dhtmlxtreegrid dataprocessor behavior on dragging node

Using dataprocessor in treegrid seems to trigger two actions when dragging a node to another position:
First, it fires an insert request with a fictional row id, ant then there follows a delete request with the original row id.

While dhtmlxtree seems to send a (in my opinion correct) update - request with the original id, the behavior described above produces me a new id (even just when i want a new sort).

Is this behavior wanted, or is it just the result of an error on my side ?

greetings

michael
Answer posted by Support on May 02, 2008 04:04
This is expected behavior, from the grid|treegrid perspective, moving row is a combination of insert|delete operations
If you plan to use d-n-d only inside TreeGrid component , we can provide a special version of dataprocessor, which will send "update" action for d-n-d operations ( please contact us directly at support@dhtmlx.com and provide your ref. number )