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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -