EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 04:49:30 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Prevent Drop as Append for Tree
Pages: [
1
]
« previous
next »
Print
Author
Topic: Prevent Drop as Append for Tree (Read 9711 times)
leela
Newbie
Posts: 29
Prevent Drop as Append for Tree
«
on:
July 22, 2014, 07:48:30 AM »
Hi,
I have 2 questions.
I have 2 trees, The user should be able to drag and drop the elements from the left tree to the right tree.
Initially the left tree would be empty. When it is empty, I am not able to drag and drop any elements on to it.
What is the best way to achieve this?
Also I want to prevent dropping of nodes with 'append' point value for few nodes.
Is there a way I can change the 'point' value from 'append' to 'top', before the drop happens?
Thanks,
Leela.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Prevent Drop as Append for Tree
«
Reply #1 on:
July 22, 2014, 08:17:18 AM »
Please read this topic
http://www.jeasyui.com/forum/index.php?topic=2630.0
. It shows you how to prevent from dropping some nodes in a tree.
Logged
leela
Newbie
Posts: 29
Re: Prevent Drop as Append for Tree
«
Reply #2 on:
July 22, 2014, 11:14:42 AM »
Hi,
Thanks for the link. it answers my 2nd question.
Any solution for the first point. How to drag and drop a node to an empty tree?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...