Topic: Drag & Drop Hover Line?

If you look at the Tree Drag & Drop demo, whenever you drag something a blue line appears to help display where you would be dropping the item.  At one point it used to work on my copy but I've changed a lot of things and now it doesn't show up anymore.  I've looked through the demos and the documentation but I can't figure out how or where it's showing up from, or how to turn it back on.

Thanks for any assistance!

Re: Drag & Drop Hover Line?

need more info: demo page or something like it.

Mb it is css issue or you destroy blue line element after tree reloading (using tree.wrapper.innerHTML='') or something else.

Check that div.mif-tree-pointer exists inside div.mif-tree-wrapper

Re: Drag & Drop Hover Line?

Thank you for the quick response!

I was using innerHTML = '', when I was trying to remove the contents of a tree:
http://mifjs.net/forum/topic/15/

Any advise on keeping the pointer while clearing the tree of nodes/data?

Thanks again smile

Re: Drag & Drop Hover Line?

try:

this.wrapper.getLast().dispose();

instead:

this.wrapper.innerHTML='';

Re: Drag & Drop Hover Line?

That worked perfectly!

Thanks again!