Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4035760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:08:20+00:00 2026-05-20T12:08:20+00:00

I have a tree ful with data that are draggable (& droppable). It all

  • 0

I have a tree ful with data that are draggable (& droppable). It all works fine, but there’s one problem. When more users’re working on this module (with tree) and they’re dragging objects around, all get mixed up. So I’m working on a solution, but I got as far as table lock in mysql. But if I do that, just one user can work on this module and that is no acceptable.

Got any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:08:21+00:00Added an answer on May 20, 2026 at 12:08 pm

    What about when a user clicks on the object a request is sent to the MySQL database requesting approval for that user to move that object.

    If that object is not tagged as being moved then the database returns true and the javascript makes the object draggable. MySQL marks that row in the table with one of the fields (i.e. you create a field called locked and set it to true or false)

    If the MYSQL returned false then the user would get some sort of notification that someone else was moving that object currently.

    I would also create a timestamp each time a row is marked as locked so you can check if the object has been unlocked)

    good luck,

    Niko

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a tree data structure that is L levels deep each node has
I have a tree structure in memory that I would like to render in
I have a tree that consists of several objects, where each object has a
I have tree tables books bookmarks users where there is a n to m
I have this Tree View that looks like this: <TreeView Grid.Column=0 Grid.Row=2 MinHeight=100 MinWidth=100
I have a tree structure and I want to find all nodes matching a
i have a tree of nodes that i dont want some type of nodes
I have a script that appends some rows to a table. One of the
I have a Tree View control for a Windows Application that uses the CheckBoxes
i have two tree one tree lets say TreeDrag is drag enabled and other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.