jquery ui draggable - Slickgrid TreeGrid drag and drop - How to get row id and details of the row, on which another row, was dragged & dropped -


i'm trying implement drag , drop within slickgrid treegrid. structure-

electronics >                  tv >                         led > sony                              lg                        lcd > samsung                              toshiba 

eg - http://mleibman.github.io/slickgrid/examples/example5-collapsing.html
brands moved 1 category another.
got point got row drag enabled, , gets details row i'm dragging. using following can row dragged -

$("#teamgrid").bind("drop", function (e, dd) {                                    data[dd.row]                                   } 

now, how details or id of row dropped drag-row?
there example drag drop enabled within grid?

i think figured out -

var name = e.target.offsetparent.childnodes[1].innerhtml; var temp = document.createelement("div"); temp.innerhtml = name; alert(temp.textcontent || temp.innertext); 

Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -