Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by paw on Dec 17, 2007 17:06
open dhtmlx forum
setting the draggable for every row

sir, i would just like to ask on how can I make certain rows in my cell as draggable while others are not?
Answer posted by Support on Dec 18, 2007 02:04
Not possible but main API, but next workaround can be used

var mygrid = new ....
... other init here ...
.... enableDragAndDrop NOT called ...
mygrid.loadXML(url,function(){
    mygrid.enableDragAndDrop(true);   
    //for each row which need to be drag-able
    mygrid.dragger.addDraggableItem(mygrid.getRowById(id));

});