EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 29, 2024, 11:15:25 PM
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
>
Treegrid DnD the same level nodes
Pages: [
1
]
« previous
next »
Print
Author
Topic: Treegrid DnD the same level nodes (Read 7138 times)
sharvesh
Newbie
Posts: 1
Treegrid DnD the same level nodes
«
on:
November 07, 2013, 11:37:42 PM »
Hi,
I'm new to treegrid by easyui.
I have also used the extension "Drag and Drop Rows in TreeGrid"
I'm having an issue for my project. The extension works great, its just that i'm wondering is it possible for me to allow drag and drop only within its own level.
let me try to explain.
I only have tree levels
*A
*AA
*AAA
*AAB
*B
*BB
*BBB
What i need to do is
*A
*AA
*AAA
*BBB
*B
*BB
*AAB
Every level have a different content so i need to make sure the level stays but its DnD to any nodes as long as it maintains its level.
Appreciate is someone could advise/guide me on how to do this.
Thanks in advance!
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Treegrid DnD the same level nodes
«
Reply #1 on:
November 09, 2013, 05:28:16 PM »
Try using 'onBeforeDrag','onDragOver' or 'onBeforeDrop' events to determine if to drop a row.
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...