drag and drop target icon

481 views
Skip to first unread message

Simon Hibbard

unread,
Mar 25, 2014, 8:42:24 AM3/25/14
to jst...@googlegroups.com
Hi,

I have drag and drop working, but there is no icon shown when dropping a node between 2 others - such as just reordering, this makes it really difficult to tell if the drop will insert above/below the target or insert it into the node (making it a child node).

On the demo http://www.jstree.com/demo/ there is an arrow icon shown when you drag to insert above/below.

Am i missing some setting?

thanks,

Simon.

Ivan Bozhanov

unread,
Mar 25, 2014, 11:52:38 AM3/25/14
to jst...@googlegroups.com
If the theme CSS file is included there should be an icon present. Maybe you have included some rules to prevent reordering? Please show me your config so that I can determine is something is wrong with the config.

Best regards,
Ivan
Message has been deleted

Simon Hibbard

unread,
Mar 25, 2014, 12:35:16 PM3/25/14
to jst...@googlegroups.com
Hi Ivan,

I removed my post with code as I realised it was a z-index issue. I had set the LI z-index to bring it above some other layers. I found the marker id and set its z-index all working.

#jstree-marker{
    z-index:951;
}

Thanks for your quick response though. This plugin is excellent and your support for it much appreciated.

regards,

Simon.
Reply all
Reply to author
Forward
0 new messages