Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Event for Move as Child #5

Open
prem-kumar-e opened this issue Aug 4, 2016 · 2 comments
Open

Event for Move as Child #5

prem-kumar-e opened this issue Aug 4, 2016 · 2 comments

Comments

@prem-kumar-e
Copy link

Is there any event available for Move the row left or right for making it as a Parent or Child row

@wadmiraal
Copy link
Owner

Well, sort of. It's not as clean as the event-based system (which only has events for drag/drop events, currently).

The Drupal component has this callback, which can be overridden to provide some custom logic. But, I think an event would be much better.

Don't hesitate to submit a PR if you want to tackle this one.

@prem-kumar-e
Copy link
Author

How can i call/handle the drag and drop events from my script. I found this events tabledrag:dragrow and tabledrag:droprow from the documentation. I dont know how to call these events when they are triggered. Is there any Working Example available with these events.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants