Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by syliang on Jul 30, 2008 02:26
open dhtmlx forum
do not open node after drag and drop

Hi,

Currently, the node will automatically open after the drag and drop finished.
May I know how can I disable the open node function so that the target node will not open automatically after drag and drop success?

Answer posted by Support on Jul 30, 2008 05:18
This is caused by specific of d-n-d in treegrid and can't be easily changed.
You can prevent such behavior by adding next code to grid initialization

    grid.attachEvent("onDrop",function(sid,tid,rid){
       this.closeItem(rid);
    })